HomeFreeBSD

Implement zfs_ioc_recv_new() for OpenZFS 2605

Description

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>

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jun 10 2016, 12:04 AM
Parents
rG8c62a0d0f39c: OpenZFS 6562 - Refquota on receive doesn't account for overage
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG43e52eddb13d: Implement zfs_ioc_recv_new() for OpenZFS 2605 (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Jun 28 2016, 8:47 PM