]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/zcp_synctask.c
Support inheriting properties in channel programs
authorJason King <jasonbking@users.noreply.github.com>
Thu, 23 Jan 2020 01:03:17 +0000 (19:03 -0600)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 23 Jan 2020 01:03:17 +0000 (17:03 -0800)
commite2ef1cbf04c713fcdba33f8183e6a61a18f61119
tree2b36d80a1fa639052d441758d7dc2ecb2c6e908f
parent79add96766f03e7382f9a4b356e7a06f66b600f8
Support inheriting properties in channel programs

This adds support in channel programs to inherit properties analogous
to `zfs inherit` by adding `zfs.sync.inherit` and `zfs.check.inherit`
functions to the ZFS LUA API.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Jason King <jason.king@joyent.com>
Closes #9738
include/sys/dsl_prop.h
man/man8/zfs-program.8
module/zfs/dsl_prop.c
module/zfs/zcp_synctask.c
tests/runfiles/common.run
tests/zfs-tests/tests/functional/channel_program/synctask_core/Makefile.am
tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.inherit.ksh [new file with mode: 0755]