]> git.proxmox.com Git - mirror_zfs.git/commit - include/sys/zfs_ioctl.h
Implement zfs_ioc_recv_new() for OpenZFS 2605
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 10 Jun 2016 00:04:12 +0000 (17:04 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 28 Jun 2016 20:47:03 +0000 (13:47 -0700)
commit43e52eddb13d8accbd052fac9a242ce979531aa4
tree35a4f1d573f6255e13ad1e36ed1c72827c376849
parent8c62a0d0f39c450d1fdb001b8073193f89611f56
Implement zfs_ioc_recv_new() for OpenZFS 2605

Adds ZFS_IOC_RECV_NEW for resumable streams and preserves the legacy
ZFS_IOC_RECV user/kernel interface.  The new interface supports all
stream options but is currently only used for resumable streams.
This way updated user space utilities will interoperate with older
kernel modules.

ZFS_IOC_RECV_NEW is modeled after the existing ZFS_IOC_SEND_NEW
handler.  Non-Linux OpenZFS platforms have opted to change the
legacy interface in an incompatible fashion instead of adding a
new ioctl.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
include/libzfs_core.h
include/sys/fs/zfs.h
include/sys/zfs_ioctl.h
lib/libzfs/libzfs_sendrecv.c
lib/libzfs_core/libzfs_core.c
module/zfs/zfs_ioctl.c