[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YPmjYieZ57WVsQx9@casper.infradead.org>
Date: Thu, 22 Jul 2021 17:57:06 +0100
From: Matthew Wilcox <willy@...radead.org>
To: Christoph Hellwig <hch@....de>
Cc: "Darrick J. Wong" <djwong@...nel.org>,
Gao Xiang <hsiangkao@...ux.alibaba.com>,
linux-erofs@...ts.ozlabs.org, linux-fsdevel@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>,
Andreas Gruenbacher <andreas.gruenbacher@...il.com>
Subject: Re: [PATCH v6] iomap: support tail packing inline read
On Thu, Jul 22, 2021 at 06:53:42PM +0200, Christoph Hellwig wrote:
> On Thu, Jul 22, 2021 at 09:51:09AM -0700, Darrick J. Wong wrote:
> > The commit message is a little misleading -- this adds support for
> > inline data pages at nonzero (but page-aligned) file offsets, not file
> > offsets into the page itself. I suggest:
>
> It actually adds both. pos is the offset into the file.
If you want to add support for both, then you need to call
iomap_set_range_uptodate() instead of SetPageUptodate(). Otherwise,
you can set the page uptodate before submitting the bio for the first
half of the page.
Powered by blists - more mailing lists