On Fri, Sep 17, 2021 at 06:30:55PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > Create a function that ensures that the storage backing part of a file > contains zeroes and will not trip over old media errors if the contents > are re-read. I don't think this has anything to do with direct I/O, so I'd rather not have it clutter direct-io.c. Also do we really want to wait synchronously for every bio instead of batching them up? Especially as a simple bio_chain is probably all that is needed.