zfs/lib/libzpool
Rob Norris 817704a6cc 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/
Signed-off-by: Rob Norris <robn@despairlabs.com>
2024-09-06 19:07:41 +10:00
..
include libzpool/abd_os: iovec-based scatter abd 2024-08-21 13:37:25 -07:00
Makefile.am value strings: pretty printers for flags and enums 2024-09-05 13:40:05 -07:00
abd_os.c libzpool/abd_os: iovec-based scatter abd 2024-08-21 13:37:25 -07:00
kernel.c zfs_file: rename zfs_file_fallocate to zfs_file_deallocate 2024-09-06 19:07:41 +10:00
taskq.c libzpool: set thread names 2024-05-01 10:51:44 -07:00
util.c nvpair: Constify string functions 2023-03-14 15:25:50 -07:00