summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-12-06 21:58:18 (GMT)
committerBen Myers <bpm@sgi.com>2011-12-14 22:32:21 (GMT)
commit92678554abfc2a2f2727ad168da87d8d434ac904 (patch)
tree082b395f587dca7903c083e8e10529be1890dc4e /virt
parentbe7ffc38a80a78e6b68d0f51fae8e8d57b55324c (diff)
downloadlinux-92678554abfc2a2f2727ad168da87d8d434ac904.tar.xz
xfs: flatten the dquot lock ordering
Introduce a new XFS_DQ_FREEING flag that tells lookup and mplist walks to skip a dquot that is beeing freed, and use this avoid the trylock on the hash and mplist locks in xfs_qm_dqreclaim_one. Also simplify xfs_dqpurge by moving the inodes to a dispose list after marking them XFS_DQ_FREEING and avoid the locker ordering constraints. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions