Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
o/snapstate: do not keep the state lock while removing snap files (#1…
…4399) * o/snapstate: do not keep the state lock while removing snap files Do not take the state lock when removing snap files, since it is not known how long the removal will take. We have observed a system in the field, where there were issues with I/O on the storage device and unlink() took significant time, this preventing snapd from functioning normally as the state lock was held. Related: SNAPDENG-26617 Signed-off-by: Maciej Borzecki <[email protected]> * overlord/snapstate: comment on peculiarities of snap dir removal and state lock Signed-off-by: Maciej Borzecki <[email protected]> --------- Signed-off-by: Maciej Borzecki <[email protected]>
- Loading branch information