[Cluster-devel] [PATCH 11/30] iomap: add the new iomap_iter model

Christoph Hellwig hch at lst.de
Fri Aug 20 04:11:58 UTC 2021


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.




More information about the Cluster-devel mailing list