summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorAnna Schumaker <anna.schumaker@oracle.com>2025-04-11 15:47:32 -0400
committerAnna Schumaker <anna.schumaker@oracle.com>2025-05-28 17:17:13 -0400
commitd2e1d783f2c619cf9d8242b67a0ab0d2915f2920 (patch)
tree02f4984704ffd936beff6713ecc07be3229a990d /scripts/generate_rust_analyzer.py
parent4c10fa44bc5f700e2ea21de2fbae520ba21f19d9 (diff)
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/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions