Re: Problems with determining data presence by examining extents?
From: David Howells
Date: Fri Jan 17 2020 - 11:43:59 EST
Christoph Hellwig <hch@xxxxxx> 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