Skip to content
Commit bbacb395 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher
Browse files

gfs2: Remove freeze_go_demote_ok



Before commit b77b4a48 ("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: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent 18c1db31
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment