Re: NFSv4.2 READ_PLUS support?

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Mon, 25 Aug 2025 11:44:51 UTC
"Rob Norris" <robn@despairlabs.com> writes:
> Cedric Blancher <cedric.blancher@gmail.com> writes:
> > Holes are not sequences of 0x00 bytes. Holes means "no data here". ZFS
> > compression should preserve the sparse information, otherwise you turn
> > ANY sequence of 0x00 bytes into holes,and that will break databases
> > and other applications which depend on exactly that *precise*
> > semantics.
> This is the second time I've heard this on this list (previously[1]) but
> I don't know what it's referring to.

They made it up.  A hole is just an optimization, and it is 100% up to
the file system whether holes are created and where.  Any application
that considers a hole to be semantically different from a sequence of
zeroes is broken.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org