diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-12-06 21:58:19 +0000 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2011-12-14 21:15:42 -0600 |
commit | bf72de3194e73fa210a904b0bd951135286bb385 (patch) | |
tree | 408ead179da91befd82e0cc23ed66830ead2fa59 /COPYING | |
parent | 92678554abfc2a2f2727ad168da87d8d434ac904 (diff) |
xfs: nest qm_dqfrlist_lock inside the dquot qlock
Allow xfs_qm_dqput to work without trylock loops by nesting the freelist lock
inside the dquot qlock. In turn that requires trylocks in the reclaim path
instead, but given it's a classic tradeoff between fast and slow path, and
we follow the model of the inode and dentry caches.
Document our new lock order now that it has settled.
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 'COPYING')
0 files changed, 0 insertions, 0 deletions