From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Date: Fri, 20 Aug 2021 06:11:58 +0200 Subject: [Cluster-devel] [PATCH 11/30] iomap: add the new iomap_iter model In-Reply-To: References: <20210809061244.1196573-1-hch@lst.de> <20210809061244.1196573-12-hch@lst.de> Message-ID: <20210820041158.GA26417@lst.de> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Thu, Aug 19, 2021 at 02:25:52PM -0700, Dan Williams wrote: > Given most of the iomap_iter users don't care about srcmap, i.e. are > not COW cases, they are leaving srcmap zero initialized. Should the > IOMAP types be incremented by one so that there is no IOMAP_HOLE > confusion? In other words, fold something like this? A hole really means nothing to read from the source. The existing code also relies on that.