From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Date: Thu, 12 Aug 2021 08:50:29 +0200 Subject: [Cluster-devel] [PATCH v2.1 19/30] iomap: switch iomap_bmap to use iomap_iter In-Reply-To: <20210811191800.GH3601443@magnolia> References: <20210809061244.1196573-1-hch@lst.de> <20210809061244.1196573-20-hch@lst.de> <20210811191800.GH3601443@magnolia> Message-ID: <20210812065029.GB27145@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 Wed, Aug 11, 2021 at 12:18:00PM -0700, Darrick J. Wong wrote: > + while ((ret = iomap_iter(&iter, ops)) > 0) { > + if (iter.iomap.type == IOMAP_MAPPED) > + bno = iomap_sector(&iter.iomap, iter.pos) >> blkshift; > + /* leave iter.processed unset to abort loop */ > + } This looks ok, thanks.