]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: use per-filesystem radix trees for dquot lookup
authorChristoph Hellwig <hch@infradead.org>
Tue, 13 Mar 2012 08:52:35 +0000 (08:52 +0000)
committerBen Myers <bpm@sgi.com>
Wed, 14 Mar 2012 16:09:06 +0000 (11:09 -0500)
commitb9edb30c4847ba74d56bf838d4441ed3f2866aa7
tree3ec0a4f006dc10ed56e5bec1b605f5ecbb3a3275
parent2589cfa15865f82ee4053b6d4defae7046f784d9
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