summaryrefslogtreecommitdiffstats
path: root/Documentation/pnp.txt
diff options
context:
space:
mode:
authorRussell Cattelan <cattelan@redhat.com>2007-01-29 17:13:44 -0600
committerSteven Whitehouse <swhiteho@redhat.com>2007-02-05 13:38:17 -0500
commitddee76089cc9bcbd8ae9ec6c26e726a8ab2fe675 (patch)
treecf08d003789a2be0f109d3d5f255137fd36360f5 /Documentation/pnp.txt
parent61be084efcc4451934257350281962595418a33c (diff)
[GFS2] Fix unlink deadlocks
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>
Diffstat (limited to 'Documentation/pnp.txt')
0 files changed, 0 insertions, 0 deletions