aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libspl
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-09-01 12:31:56 +1000
committerBrian Behlendorf <[email protected]>2024-09-18 11:35:04 -0700
commitfa330646b987756c7cff6762691e07925bce5da0 (patch)
treeae2a902b0652f623cc77d08562320d68083a3b3e /lib/libspl
parent7cdfda3934b4080fa0bbcb0d306ef946d8ed282f (diff)
zfs_file: rename zfs_file_fallocate to zfs_file_deallocate
We only use it on a specific way: to punch a hole in (make sparse) a region of a file, in order to implement TRIM-like behaviour. So, call the op "deallocate", and move the Linux-style mode flags down into the Linux implementation, since they're an implementation detail. FreeBSD gets a no-op stub (for the moment). Sponsored-by: https://despairlabs.com/sponsor/ Reviewed by: Brian Behlendorf <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Reviewed-by: Tino Reichardt <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes #16496
Diffstat (limited to 'lib/libspl')
0 files changed, 0 insertions, 0 deletions