1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00
freebsd/lib/libzpool
Rob Norris fa330646b9 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 <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #16496
2024-09-18 11:35:04 -07:00
..
include libzpool/abd_os: iovec-based scatter abd 2024-08-21 13:37:25 -07:00
abd_os.c Adding Direct IO Support 2024-09-14 13:47:59 -07:00
kernel.c zfs_file: rename zfs_file_fallocate to zfs_file_deallocate 2024-09-18 11:35:04 -07:00
Makefile.am Adding Direct IO Support 2024-09-14 13:47:59 -07: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