[Top] [All Lists]

[xfs-masters] Re: 2.6.22-rc1-mm1

To: xfs-masters@xxxxxxxxxxx
Subject: [xfs-masters] Re: 2.6.22-rc1-mm1
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Wed, 23 May 2007 09:23:10 +1000
Cc: Christoph Hellwig <hch@xxxxxx>, David Chinner <dgc@xxxxxxx>, Michal Piotrowski <michal.k.k.piotrowski@xxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx
In-reply-to: <20070522104429.GN86004887@sgi.com>
Organization: Aconex
References: <20070515201914.16944e04.akpm@linux-foundation.org> <464B304C.5040104@googlemail.com> <20070516094133.bec04e65.akpm@linux-foundation.org> <20070517020600.GS85884050@sgi.com> <20070517084135.GA8510@lst.de> <464CB577.5080106@googlemail.com> <20070518021114.GV86004887@sgi.com> <20070521101141.GX86004887@sgi.com> <20070521102321.GA2632@lst.de> <20070522104429.GN86004887@sgi.com>
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
On Tue, 2007-05-22 at 20:44 +1000, David Chinner wrote:
> > xfs_buf_associate_memory is a mess.  My original plan was to get rid
> of
> > it, but I kept that out to keep that patchset small and easily
> reviable,
> > but it seems like that was a mistake.  My plan is the following:
> > 
> >  - xlog_bread and thus the whole buffer I/O path grows an iooffset
> >    paramater that specifies at which offset into the buffer we start
> >    the actual I/O.  That gets rid of all the
> xfs_buf_associate_memory
> >    memory uses in the log recovery code
> Perhaps a new field in the xfs_buf structure - that way call paths
> don't need to grow extra parameters and potentially increase

Thatd be unfortunate - there are very few iclog buffers relative to
every other metadata buffer, so growing the struct for all of those
too would not be ideal (I remember Steve going on pagebuf shrinking
exercises in the distant past, to fit more of em in memory at once,
I can't remember what benchmark in particular he was using though).



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