mirror of
https://github.com/versity/scoutfs.git
synced 2026-07-29 11:33:19 +00:00
The commit work sets trans_holds so that all hold attempts block while it's doing its work. Now that it's calling in to generic vfs functions to write out dirty file data it can end up in generic write functions that try to hold the trans and can deadlock. This adds tracking of the commit task so that holds know to let it proceed without deadlocking. Signed-off-by: Zach Brown <zab@versity.com> Reviewed-by: Mark Fasheh <mfasheh@versity.com>