linux-rockchip/fs/gfs2
Andreas Gruenbacher e1646dd16c gfs2: Remove freeze_go_demote_ok
commit bbacb395ac5c57290cdfd02389788cbce64c237e upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-08-29 17:30:56 +02:00
..
acl.c
acl.h
aops.c
aops.h
bmap.c
bmap.h
dentry.c
dir.c
dir.h
export.c
file.c
gfs2.h
glock.c gfs2: Remove LM_FLAG_PRIORITY flag 2024-08-29 17:30:56 +02:00
glock.h gfs2: Remove LM_FLAG_PRIORITY flag 2024-08-29 17:30:56 +02:00
glops.c gfs2: Remove freeze_go_demote_ok 2024-08-29 17:30:56 +02:00
glops.h
incore.h gfs2: Rename SDF_{FS_FROZEN => FREEZE_INITIATOR} 2024-08-29 17:30:18 +02:00
inode.c gfs2: setattr_chown: Add missing initialization 2024-08-29 17:30:31 +02:00
inode.h
Kconfig
lock_dlm.c gfs2: Remove LM_FLAG_PRIORITY flag 2024-08-29 17:30:56 +02:00
log.c gfs2: Rework freeze / thaw logic 2024-08-29 17:30:18 +02:00
log.h
lops.c
lops.h
main.c
Makefile
meta_io.c
meta_io.h
ops_fstype.c gfs2: don't withdraw if init_threads() got interrupted 2024-08-29 17:30:55 +02:00
quota.c
quota.h
recovery.c gfs2: Rework freeze / thaw logic 2024-08-29 17:30:18 +02:00
recovery.h
rgrp.c
rgrp.h
super.c gfs2: Refcounting fix in gfs2_thaw_super 2024-08-29 17:30:34 +02:00
super.h gfs2: Rework freeze / thaw logic 2024-08-29 17:30:18 +02:00
sys.c gfs2: Rename SDF_{FS_FROZEN => FREEZE_INITIATOR} 2024-08-29 17:30:18 +02:00
sys.h
trace_gfs2.h
trans.c
trans.h
util.c gfs2: Stop using gfs2_make_fs_ro for withdraw 2024-08-29 17:30:18 +02:00
util.h gfs2: Rename gfs2_freeze_lock{ => _shared } 2024-08-29 17:30:18 +02:00
xattr.c
xattr.h