diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-12-06 21:58:18 +0000 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2011-12-14 16:32:21 -0600 |
commit | 92678554abfc2a2f2727ad168da87d8d434ac904 (patch) | |
tree | 082b395f587dca7903c083e8e10529be1890dc4e /init | |
parent | be7ffc38a80a78e6b68d0f51fae8e8d57b55324c (diff) |
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 'init')
0 files changed, 0 insertions, 0 deletions