diff options
| author | Jan Kara <[email protected]> | 2025-04-24 13:45:11 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-05-08 06:39:40 +0000 |
| commit | c0fb83088f0cc4ee4706e0495ee8b06f49daa716 (patch) | |
| tree | bda5d9cc8fd87ed77ed2fa435350f25d7dc49de9 /rust/helpers/platform.c | |
| parent | mailmap: map Uwe's BayLibre addresses to a single one (diff) | |
| download | kernel-c0fb83088f0cc4ee4706e0495ee8b06f49daa716.tar.gz kernel-c0fb83088f0cc4ee4706e0495ee8b06f49daa716.zip | |
ocfs2: switch osb->disable_recovery to enum
Patch series "ocfs2: Fix deadlocks in quota recovery", v3.
This implements another approach to fixing quota recovery deadlocks. We
avoid grabbing sb->s_umount semaphore from ocfs2_finish_quota_recovery()
and instead stop quota recovery early in ocfs2_dismount_volume().
This patch (of 3):
We will need more recovery states than just pure enable / disable to fix
deadlocks with quota recovery. Switch osb->disable_recovery to enum.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 5f530de63cfc ("ocfs2: Use s_umount for quota recovery protection")
Signed-off-by: Jan Kara <[email protected]>
Reviewed-by: Heming Zhao <[email protected]>
Tested-by: Heming Zhao <[email protected]>
Acked-by: Joseph Qi <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Junxiao Bi <[email protected]>
Cc: Changwei Ge <[email protected]>
Cc: Jun Piao <[email protected]>
Cc: Murad Masimov <[email protected]>
Cc: Shichangkuo <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
