[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zr2Zd-fjb96D3ZQi@infradead.org>
Date: Wed, 14 Aug 2024 23:00:23 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Zhang Yi <yi.zhang@...weicloud.com>
Cc: Christoph Hellwig <hch@...radead.org>, linux-xfs@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
djwong@...nel.org, brauner@...nel.org, david@...morbit.com,
jack@...e.cz, willy@...radead.org, yi.zhang@...wei.com,
chengzhihao1@...wei.com, yukuai3@...wei.com
Subject: Re: [PATCH v2 3/6] iomap: advance the ifs allocation if we have more
than one blocks per folio
On Wed, Aug 14, 2024 at 03:08:25PM +0800, Zhang Yi wrote:
> > iomap_invalidate_folio when it actually is needed?
> >
>
> Therefore, you mean current strategy of allocating ifs is to try to delay
> the allocation time as much as possible?
Yes.
> The advantage is that it could
> avoid some unnecessary allocation operations if the whole folio are
> invalidated before write back. right?
Yes. And hopefully we can also get to the point where we don't need
to actually allocate it for writeback. I've been wanting to do that
for a while but never got it.
Powered by blists - more mailing lists