mirror_zfs/lib/libzfs
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 libzfs: ensure all ioctl calls go through lzc_ioctl_fd() 2025-05-21 09:23:23 -07:00
.gitignore Clean up lib dependencies 2020-07-10 14:26:00 -07:00
libzfs_changelist.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
libzfs_config.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
libzfs_crypto.c Expose dataset encryption status via fast stat path 2025-05-26 22:11:03 -04:00
libzfs_dataset.c libzfs: ensure all ioctl calls go through lzc_ioctl_fd() 2025-05-21 09:23:23 -07:00
libzfs_diff.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
libzfs_impl.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
libzfs_import.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
libzfs_iter.c Sort the blocking snapshots list #12751 (#17264) 2025-05-01 17:40:23 -07:00
libzfs_mount.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
libzfs_pool.c Cause zpool scan resume commands to get logged in history 2025-05-16 13:19:04 -04:00
libzfs_sendrecv.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
libzfs_status.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
libzfs_util.c libzfs: ensure all ioctl calls go through lzc_ioctl_fd() 2025-05-21 09:23:23 -07:00
libzfs.abi Expose dataset encryption status via fast stat path 2025-05-26 22:11:03 -04:00
libzfs.pc.in Spruce up pkg-config files for libzfs/libzfs_core 2020-09-04 11:11:18 -07:00
libzfs.suppr Library ABI tracking with abigail 2020-11-17 09:18:52 -08:00
Makefile.am Bump SONAME of libzfs and libzpool 2024-10-06 14:49:33 -07:00
THIRDPARTYLICENSE.openssl Fix typos in lib/ 2019-09-02 17:53:27 -07:00
THIRDPARTYLICENSE.openssl.descrip Encryption patch follow-up 2017-10-11 16:54:48 -04:00