gfs2: Remove freeze_go_demote_ok
authorAndreas Gruenbacher <agruenba@redhat.com>
Fri, 1 Sep 2023 19:39:26 +0000 (21:39 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 18 Sep 2023 21:13:21 +0000 (23:13 +0200)
commitbbacb395ac5c57290cdfd02389788cbce64c237e
treef21a312fc8497ee63a0f9246e189bdad30ab34a2
parent18c1db313ea904ebd01aa08135b72cdb04f889fb
gfs2: Remove freeze_go_demote_ok

Before commit b77b4a4815a9 ("gfs2: Rework freeze / thaw logic"), the
freeze glock was kept around in the glock cache in shared mode without
being actively held while a filesystem is in thawed state.  In that
state, memory pressure could have eventually evicted the freeze glock,
and the freeze_go_demote_ok callback was needed to prevent that from
happening.

With the freeze / thaw rework, the freeze glock is now always actively
held in shared mode while a filesystem is thawed, and the
freeze_go_demote_ok hack is no longer needed.

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