mirror_zfs/lib/libzpool
Rob Norris af062c480c vdev_file: unify FreeBSD and Linux implementations (#17046)
Kernel & userspace specifics are in zfs_file_os.c, so there's no
particular reason these have to be separate.

The one platform-specific part is in the Linux kernel part, to offload
flushes to a taskq if we're already inside a filesystem transaction.
This would be normally be an unsatisfying wart, but I'm intending to
remove this shortly, so I'm content to leave it gated for the moment.

Reviewed-by: Allan Jude <allan@klarasystems.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.

Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
2025-02-28 00:42:29 +05: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
arc_os.c arc_os: split userspace and Linux kernel code 2024-09-19 15:48:54 -07:00
kernel.c zfs_file: implement zfs_file_deallocate for FreeBSD 14 2024-09-18 11:35:48 -07:00
Makefile.am vdev_file: unify FreeBSD and Linux implementations (#17046) 2025-02-28 00:42:29 +05: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
vdev_label_os.c zfs_debug: specific variant for userspace 2024-09-19 15:49:50 -07:00
zfs_debug.c zfs_debug: Restore log size limit for userspace 2024-10-21 13:02:07 -07:00
zfs_racct.c zfs_racct: copy Linux implementation for userspace 2024-09-19 15:49:39 -07:00