]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ocfs2: implement handshaking with ocfs2 recovery thread
authorJan Kara <jack@suse.cz>
Thu, 24 Apr 2025 13:45:12 +0000 (15:45 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 8 May 2025 06:39:40 +0000 (23:39 -0700)
commit8f947e0fd595951460f5a6e1ac29baa82fa02eab
tree865484e20412b09f8b2bb861802ba305646935e4
parentc0fb83088f0cc4ee4706e0495ee8b06f49daa716
ocfs2: implement handshaking with ocfs2 recovery thread

We will need ocfs2 recovery thread to acknowledge transitions of
recovery_state when disabling particular types of recovery.  This is
similar to what currently happens when disabling recovery completely, just
more general.  Implement the handshake and use it for exit from recovery.

Link: https://lkml.kernel.org/r/20250424134515.18933-5-jack@suse.cz
Fixes: 5f530de63cfc ("ocfs2: Use s_umount for quota recovery protection")
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Heming Zhao <heming.zhao@suse.com>
Tested-by: Heming Zhao <heming.zhao@suse.com>
Acked-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Jun Piao <piaojun@huawei.com>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Murad Masimov <m.masimov@mt-integration.ru>
Cc: Shichangkuo <shi.changkuo@h3c.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/ocfs2/journal.c
fs/ocfs2/ocfs2.h