mirror_zfs/lib/libzfs_core
Ameer Hamza 2a91d577b1
Expose dataset encryption status via fast stat path
In truenas_pylibzfs, we query list of encrypted datasets several times,
which is expensive. This commit exposes a public API zfs_is_encrypted()
to get encryption status from fast stat path without having to refresh
the properties.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Rob Norris <robn@despairlabs.com>
Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
Closes #17368
2025-05-26 22:11:03 -04:00
..
os lzc: move lzc_ioctl_fd() into lzc proper 2025-05-21 09:23:46 -07:00
.gitignore Clean up lib dependencies 2020-07-10 14:26:00 -07:00
libzfs_core_impl.h lzc: move lzc_ioctl_fd() into lzc proper 2025-05-21 09:23:46 -07:00
libzfs_core.abi Expose dataset encryption status via fast stat path 2025-05-26 22:11:03 -04:00
libzfs_core.c lzc_ioctl_fd: add ZFS_IOC_TRACE envvar to enable ioctl tracing 2025-05-21 09:23:53 -07:00
libzfs_core.pc.in Spruce up pkg-config files for libzfs/libzfs_core 2020-09-04 11:11:18 -07:00
libzfs_core.suppr Library ABI tracking with abigail 2020-11-17 09:18:52 -08:00
Makefile.am lzc: move lzc_ioctl_fd() into lzc proper 2025-05-21 09:23:46 -07:00