mirror_zfs/lib/libzfs
Artem ad63ab2d90 Sort the blocking snapshots list #12751 (#17264)
When multiple snapshots prevent the destruction/rollback of the
respective dataset/snapshot/volume via zfs destroy or zfs rollback,
the error message does not list the blocking snapshots sorted
according to their order of creation. This causes inconvenience and can
lead to confusion, and also creates a contrast with a returned message
from zfs list -t snap function.

Closes: #12751

Signed-off-by: Artem-OSSRevival <artem.vlasenko@ossrevival.org>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
(cherry picked from commit 27f3d94940)
2025-05-28 16:00:28 -07:00
..
os SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -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-04-16 09:59:44 -07:00
libzfs_config.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libzfs_crypto.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libzfs_dataset.c Add more descriptive destroy error message 2025-05-28 16:00:28 -07:00
libzfs_diff.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libzfs_impl.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libzfs_import.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libzfs_iter.c Sort the blocking snapshots list #12751 (#17264) 2025-05-28 16:00:28 -07:00
libzfs_mount.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libzfs_pool.c vdev_to_nvlist_iter: ignore draid parameters when matching names (#17228) 2025-05-28 16:00:28 -07:00
libzfs_sendrecv.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libzfs_status.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libzfs_util.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libzfs.abi Add ability to scrub from last scrubbed txg 2024-12-05 09:33:21 -08: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-09 13:44:32 -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