| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 07/11] xfs: replace i_pin_wait with a bit waitqueue |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Wed, 14 Dec 2011 09:21:58 +1100 |
| Cc: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20111208155918.662107724@xxxxxxxxxxxxxxxxxxxxxx> |
| References: | <20111208155755.323930705@xxxxxxxxxxxxxxxxxxxxxx> <20111208155918.662107724@xxxxxxxxxxxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Thu, Dec 08, 2011 at 10:58:02AM -0500, Christoph Hellwig wrote: > Replace i_pin_wait, which is only used during synchronous inode flushing > with a bit waitqueue. This trades off a much smaller inode against > slightly slower wakeup performance, and saves 12 (32-bit) or 20 (64-bit) > bytes in the XFS inode. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > Reviewed-by: Alex Elder <aelder@xxxxxxx> Looks fine - the pinning code never modifies the i_flags field, so doesn't require the i_flags_lock anywhere so the concerns i had about the previous patch are not relevant here... Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> -- Dave Chinner david@xxxxxxxxxxxxx |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 06/11] xfs: replace i_flock with a sleeping bitlock, Dave Chinner |
|---|---|
| Next by Date: | Re: XFS updates for 3.0-stable, Greg KH |
| Previous by Thread: | [PATCH 07/11] xfs: replace i_pin_wait with a bit waitqueue, Christoph Hellwig |
| Next by Thread: | [PATCH 05/11] xfs: make i_flags an unsigned long, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |