xfs: use per-filesystem radix trees for dquot lookup
commit9f920f116426806bfa34c1422742e1bf7b7a2b4b
authorChristoph Hellwig <hch@infradead.org>
Tue, 13 Mar 2012 08:52:35 +0000 (13 08:52 +0000)
committerBen Myers <bpm@sgi.com>
Wed, 14 Mar 2012 16:09:06 +0000 (14 11:09 -0500)
tree3ec0a4f006dc10ed56e5bec1b605f5ecbb3a3275
parentf8739c3ce2ac9a01515b56026b6a066c0808234b
xfs: use per-filesystem radix trees for dquot lookup

Replace the global hash tables for looking up in-memory dquot structures
with per-filesystem radix trees to allow scaling to a large number of
in-memory dquot structures.

Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_dquot.c
fs/xfs/xfs_dquot.h
fs/xfs/xfs_qm.c
fs/xfs/xfs_qm.h
fs/xfs/xfs_quota_priv.h
fs/xfs/xfs_trace.h