]> git.proxmox.com Git - mirror_zfs.git/commit - man/man8/zfs.8
zfs should optionally send holds
authorPaul Zuchowski <31706010+PaulZ-98@users.noreply.github.com>
Fri, 15 Feb 2019 20:41:38 +0000 (15:41 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 15 Feb 2019 20:41:38 +0000 (12:41 -0800)
commit9c5e88b1ded19cb4b19b9d767d5c71b34c189540
tree08a51e07bb19bae06bdfbc61ae36b140514870ae
parente73ab1b38cd099f3416eed0ab5576639383bbdcc
zfs should optionally send holds

Add -h switch to zfs send command to send dataset holds. If
holds are present in the stream, zfs receive will create them
on the target dataset, unless the zfs receive -h option is used
to skip receive of holds.

Reviewed-by: Alek Pinchuk <apinchuk@datto.com>
Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Signed-off-by: Paul Zuchowski <pzuchowski@datto.com>
Closes #7513
cmd/zfs/zfs_main.c
include/libzfs.h
include/sys/zfs_ioctl.h
lib/libzfs/libzfs_sendrecv.c
man/man8/zfs.8
module/zfs/dmu_send.c
module/zfs/dsl_userhold.c
tests/runfiles/linux.run
tests/zfs-tests/tests/functional/rsend/Makefile.am
tests/zfs-tests/tests/functional/rsend/send_holds.ksh [new file with mode: 0755]