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

Ben Myers
2011-12-14T22:13:12Z

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@lst.de>
> Reviewed-by: Dave Chinner <dchinner@redhat.com>

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