xfs
[Top] [All Lists]

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

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [patch 11/19] xfs: implement lazy removal for the dquot freelist
From: Ben Myers <bpm@xxxxxxx>
Date: Wed, 14 Dec 2011 16:13:36 -0600
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20111206215854.567573800@xxxxxxxxxxxxxxxxxxxxxx>
References: <20111206215806.844405397@xxxxxxxxxxxxxxxxxxxxxx> <20111206215854.567573800@xxxxxxxxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.18 (2008-05-17)
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@xxxxxx>
> Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx>

Reviewed-by: Ben Myers <bpm@xxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>