[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210823125824.GB15536@lst.de>
Date: Mon, 23 Aug 2021 14:58:24 +0200
From: Christoph Hellwig <hch@....de>
To: Shiyang Ruan <ruansy.fnst@...itsu.com>
Cc: djwong@...nel.org, hch@....de, linux-xfs@...r.kernel.org,
dan.j.williams@...el.com, david@...morbit.com,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
nvdimm@...ts.linux.dev, rgoldwyn@...e.de, viro@...iv.linux.org.uk,
willy@...radead.org
Subject: Re: [PATCH v7 5/8] iomap: Introduce iomap_iter2 for two files
On Mon, Aug 16, 2021 at 02:03:56PM +0800, Shiyang Ruan wrote:
> Some operations, such as comparing a range of data in two files under
> fsdax mode, requires nested iomap_begin()/iomap_end() on two files.
> Thus, we introduce iomap_iter2() to accept two iteraters to operate
> action on two files.
We really should not need both. We should be able to be in two
nested loops, just operating on the part that both cover (for which
a helper might be useful).
Powered by blists - more mailing lists