freebsd-dev/sys/cddl
Alan Somers 1af3a11218 MFZoL: 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
zfsonlinux/zfs@4c0883fb4a

MFC after:	2 weeks
2019-10-26 17:11:02 +00:00
..
boot/zfs loader: support com.delphix:removing 2019-08-08 18:08:13 +00:00
compat/opensolaris fix up r353340, don't assume that fcmpset has strong semantics 2019-10-11 17:01:02 +00:00
contrib/opensolaris MFZoL: Avoid retrieving unused snapshot props 2019-10-26 17:11:02 +00:00
dev dtrace: 64-bits registers support 2019-10-04 16:17:00 +00:00