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.