mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-15 21:30:43 +00:00
ddee76089c
Move the glock acquisition to outside of the transactions. Lock odering must be preserved in order to prevent ABBA deadlocks. The current gfs2_change_nlink code would tries to grab the glock after having started a transaction and thus is holding the log lock. This is inconsistent with other code paths in gfs that grab the resource group glock prior to staring a tranactions. One problem with this fix is that the resource group lock is always grabbed now even if the inode still has ref count and can not be marked for unlink. Signed-off-by: Russell Cattelan <cattelan@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com> |
||
---|---|---|
.. | ||
locking | ||
acl.c | ||
acl.h | ||
bmap.c | ||
bmap.h | ||
daemon.c | ||
daemon.h | ||
dir.c | ||
dir.h | ||
eaops.c | ||
eaops.h | ||
eattr.c | ||
eattr.h | ||
gfs2.h | ||
glock.c | ||
glock.h | ||
glops.c | ||
glops.h | ||
incore.h | ||
inode.c | ||
inode.h | ||
Kconfig | ||
lm.c | ||
lm.h | ||
locking.c | ||
log.c | ||
log.h | ||
lops.c | ||
lops.h | ||
main.c | ||
Makefile | ||
meta_io.c | ||
meta_io.h | ||
mount.c | ||
mount.h | ||
ondisk.c | ||
ops_address.c | ||
ops_address.h | ||
ops_dentry.c | ||
ops_dentry.h | ||
ops_export.c | ||
ops_export.h | ||
ops_file.c | ||
ops_file.h | ||
ops_fstype.c | ||
ops_fstype.h | ||
ops_inode.c | ||
ops_inode.h | ||
ops_super.c | ||
ops_super.h | ||
ops_vm.c | ||
ops_vm.h | ||
quota.c | ||
quota.h | ||
recovery.c | ||
recovery.h | ||
rgrp.c | ||
rgrp.h | ||
super.c | ||
super.h | ||
sys.c | ||
sys.h | ||
trans.c | ||
trans.h | ||
util.c | ||
util.h |