]> granicus.if.org Git - zfs/commit
Introduce getting holds and listing bookmarks through ZCP
authorSerapheim Dimitropoulos <serapheim@delphix.com>
Mon, 12 Aug 2019 17:02:34 +0000 (10:02 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 12 Aug 2019 17:02:34 +0000 (10:02 -0700)
commit3b9edd7b171f510b0abb9c885aa5b77114b8169a
tree06f48f5ea1d64c1e055adc1ba0afca52372df4a4
parent2081db79827e0fbc3088dcd693f8af7d7d0191a4
Introduce getting holds and listing bookmarks through ZCP

Consumers of ZFS Channel Programs can now list bookmarks,
and get holds from datasets. A minor-refactoring was also
applied to distinguish between user and system properties
in ZCP.

Reviewed-by: Paul Dagnelie <pcd@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Matt Ahrens <mahrens@delphix.com>
Reviewed-by: Serapheim Dimitropoulos <serapheim@delphix.com>
Ported-by: Serapheim Dimitropoulos <serapheim@delphix.com>
Signed-off-by: Dan Kimmel <dan.kimmel@delphix.com>
OpenZFS-issue: https://illumos.org/issues/8862
Closes #7902
man/man8/zfs-program.8
module/zfs/zcp_iter.c
tests/runfiles/linux.run
tests/zfs-tests/include/libtest.shlib
tests/zfs-tests/tests/functional/channel_program/synctask_core/Makefile.am
tests/zfs-tests/tests/functional/channel_program/synctask_core/cleanup.ksh
tests/zfs-tests/tests/functional/channel_program/synctask_core/setup.ksh
tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_bookmarks.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_holds.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_user_props.ksh