Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Protect the toc action with the object action lock
If monitor_action is not "reboot" or "crash". So "toc" can not run twice in parallel. Before this patch, a toc action with monitor_action=freezestop could run in parallel on the same object, causing a race to stop the resources, and unclean stop (fuser -k to free fs while app resources are still stopping, for ex).
- Loading branch information
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters