[patch 11/19] xfs: implement lazy removal for the dquot freelist

Ben Myers bpm at sgi.com
Wed Dec 14 16:13:36 CST 2011


On Tue, Dec 06, 2011 at 04:58:17PM -0500, Christoph Hellwig wrote:
> Do not remove dquots from the freelist when we grab a reference to them in
> xfs_qm_dqlookup, but leave them on the freelist util scanning notices that
> they have a reference.  This speeds up the lookup fastpath, and greatly
> simplifies the lock ordering constraints.  Note that the same scheme is
> used by the VFS inode and dentry caches.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Dave Chinner <dchinner at redhat.com>

Reviewed-by: Ben Myers <bpm at sgi.com>




More information about the xfs mailing list