]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r352591: MFZoL: Retire send space estimation via ZFS_IOC_SEND
authorAndriy Gapon <avg@FreeBSD.org>
Wed, 9 Oct 2019 09:40:03 +0000 (09:40 +0000)
committerAndriy Gapon <avg@FreeBSD.org>
Wed, 9 Oct 2019 09:40:03 +0000 (09:40 +0000)
commited3fd7ab419d1362c50e9121afbd73600ea4a6a6
tree0c23b7ec530562bd9ae67feae4abfd9318bbf54b
parent85b2ee015e9d5694799f6dec94ab20f0699e36cb
MFC r352591: MFZoL: Retire send space estimation via ZFS_IOC_SEND

Add a small wrapper around libzfs_core's lzc_send_space() to libzfs so
that every legacy ZFS_IOC_SEND consumer, along with their userland
counterpart estimate_ioctl(), can leverage ZFS_IOC_SEND_SPACE to
request send space estimation.

The legacy functionality in zfs_ioc_send() is left untouched for
compatibility purposes.

Obtained from: ZoL
Obtained from: zfsonlinux/zfs@cf7684bc8d57
Author: loli10K <ezomori.nozomu@gmail.com>
cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c