| 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> |
|---|---|---|
| ||
| Previous by Date: | Re: xfs-trace-ilock-more, Dave Chinner |
|---|---|
| Next by Date: | Re: [patch 12/19] xfs: flatten the dquot lock ordering, Ben Myers |
| Previous by Thread: | [patch 11/19] xfs: implement lazy removal for the dquot freelist, Christoph Hellwig |
| Next by Thread: | [patch 15/19] xfs: simplify xfs_qm_detach_gdquots, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |