mirror_zfs/lib/libzfs
Alek P 4c0883fb4a Avoid retrieving unused snapshot props
This patch modifies the zfs_ioc_snapshot_list_next() ioctl to enable it
to take input parameters that alter the way looping through the list of
snapshots is performed. The idea here is to restrict functions that
throw away some of the snapshots returned by the ioctl to a range of
snapshots that these functions actually use. This improves efficiency
and execution speed for some rollback and send operations.

Reviewed-by: Tom Caputi <tcaputi@datto.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Signed-off-by: Alek Pinchuk <apinchuk@datto.com>
Closes #8077
2019-03-12 13:13:22 -07:00
..
.gitignore Add a pkgconfig file 2014-08-28 07:59:43 -07:00
libzfs_changelist.c Fix changelist mounted-dataset iteration 2018-10-10 21:13:13 -07:00
libzfs_config.c OpenZFS 4521 - zfstest is trying to execute evil "zfs unmount -a" 2017-02-03 13:24:44 -08:00
libzfs_core.pc.in Add a pkgconfig file 2014-08-28 07:59:43 -07:00
libzfs_crypto.c Added encryption support for zfs recv -o / -x 2018-08-15 09:48:49 -07:00
libzfs_dataset.c Avoid retrieving unused snapshot props 2019-03-12 13:13:22 -07:00
libzfs_diff.c OpenZFS 9559 - zfs diff handles files on delete queue in fromsnap poorly 2018-12-14 09:50:49 -08:00
libzfs_import.c Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00
libzfs_iter.c Avoid retrieving unused snapshot props 2019-03-12 13:13:22 -07:00
libzfs_mount.c OpenZFS 9880 - Race in ZFS parallel mount 2018-12-07 11:02:23 -08:00
libzfs_pool.c OpenZFS 9102 - zfs should be able to initialize storage devices 2019-01-07 10:37:26 -08:00
libzfs_sendrecv.c Avoid retrieving unused snapshot props 2019-03-12 13:13:22 -07:00
libzfs_status.c Add missing MMP status code to libzfs_status 2019-01-03 12:15:46 -08:00
libzfs_util.c ZVOLs should not be allowed to have children 2019-02-08 15:44:15 -08:00
libzfs.pc.in Add a pkgconfig file 2014-08-28 07:59:43 -07:00
Makefile.am Include third party licenses in dist tarballs 2019-01-08 09:29:34 -08:00
THIRDPARTYLICENSE.openssl Encryption patch follow-up 2017-10-11 16:54:48 -04:00
THIRDPARTYLICENSE.openssl.descrip Encryption patch follow-up 2017-10-11 16:54:48 -04:00