mirror_zfs/lib/libzfs/os/freebsd
Jorgen Lundman 1d901c3ee5
Upstream: unmount snapshots before destroying them on macOS
Add function zfs_destroy_snaps_nvl_os() call. The main issue is that
macOS needs to unmount any mounted snapshots before they can be
destroyed. Other platforms can handle this in the kernel, but sending
a storm of zed events to unmount seems undesirable when we can do it
in userland to start with.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Jorgen Lundman <lundman@lundman.net>
Co-authored-by: ilovezfs <ilovezfs@icloud.com>
Closes #12550
2021-09-20 09:29:59 -06:00
..
libzfs_compat.c Upstream: unmount snapshots before destroying them on macOS 2021-09-20 09:29:59 -06:00
libzfs_ioctl_compat.c Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
libzfs_zmount.c Add zpool_disable_datasets_os() / zfs_unmount_os() 2021-08-31 09:56:00 -06:00