diff options
author | 2025-04-11 15:47:32 -0400 | |
---|---|---|
committer | 2025-05-28 17:17:13 -0400 | |
commit | d2e1d783f2c619cf9d8242b67a0ab0d2915f2920 (patch) | |
tree | 02f4984704ffd936beff6713ecc07be3229a990d /scripts/lib/kdoc/kdoc_files.py | |
parent | fs/nfs/read: fix double-unlock bug in nfs_return_empty_folio() (diff) | |
download | linux-rng-d2e1d783f2c619cf9d8242b67a0ab0d2915f2920.tar.xz linux-rng-d2e1d783f2c619cf9d8242b67a0ab0d2915f2920.zip |
NFS: Add support for fallocate(FALLOC_FL_ZERO_RANGE)
This implements a suggestion from Trond that we can mimic
FALLOC_FL_ZERO_RANGE by sending a compound that first does a DEALLOCATE
to punch a hole in a file, and then an ALLOCATE to fill the hole with
zeroes. There might technically be a race here, but once the DEALLOCATE
finishes any reads from the region would return zeroes anyway, so I
don't expect it to cause problems.
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions