]> Gentwo Git Trees - linux/.git/commit
gfs2: No longer thaw filesystems during a withdraw
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 28 Oct 2025 21:38:54 +0000 (21:38 +0000)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 26 Nov 2025 23:52:28 +0000 (23:52 +0000)
commit16c31979840399e6e5542f861c6fb18f9086f3c9
treeb058bac71911d0b6b5b162086acb91c3141a2149
parent3a88edc1657da9a847041ea994e66e26db9578d2
gfs2: No longer thaw filesystems during a withdraw

Previously, when a withdraw occurred, we would wait for another node to
recover our journal.  This also meant that frozen filesystem needed to
be thawed because otherwise, other nodes wouldn't be able to recover the
filesystem.  With the reversal of commit 601ef0d52e96 ("gfs2: Force
withdraw to replay journals and wait for it to finish"), we are no
longer waiting for journal recovery during a withdraw, so we no longer
need to thaw frozen filesystems, either.  This also fixes a potential
deadlock reported by lockdep when running xfstest generic/108.

In addition, there is nothing left in do_withdraw() that would require
taking sd_freeze_mutex, so don't bother taking that lock there anymore.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/super.c
fs/gfs2/super.h
fs/gfs2/util.c