Re: Problems with determining data presence by examining extents?

David Howells
2020-01-17T16:43:59Z

Christoph Hellwig <hch@lst.de> wrote:

> File systems usually pad zeroes where they have to, typically for
> sub-blocksize writes. Disabling this would break data integrity.

I understand that. I can, however, round up the netfs I/O granule size and
alignment to a multiple of the cachefile I/O block size. Also, I'm doing DIO,
so I have to use block size multiples.

But if the filesystem can avoid bridging large, appropriately sized and
aligned blocks, then I can use it.

David