Re: [RFC 0/9] block: add llseek(SEEK_HOLE/SEEK_DATA) support

From: Christoph Hellwig
Date: Fri Apr 05 2024 - 03:03:12 EST


On Tue, Apr 02, 2024 at 08:31:09AM -0500, Eric Blake wrote:
> As well as my question on whether the community would be open to
> introducing new SEEK_* constants to allow orthogonality between
> searching for zeroes (known to read as zero, whether or not it was
> allocated) vs. sparseness (known to be unallocated, whether or not it
> reads as zero), where the existing SEEK_HOLE seeks for both properties
> at once.

That seems like quite an effort. Is is worth it?