This adds two new features to channel programs --
listing bookmarks on a filesystem and listing holds on a snapshot.

The man page of channel programs has also been updated to explain
why zfs.list.properties() returns 3 items (the property name, its value,
and its source) for each iteration, rather than just the property name
as the current version of the docs might make you expect.

One final code cleanup/sidefix is the renaming zfs.list.properties to
zfs.list.user_properties to make the operation more like its sibling
zfs.list.system_properties.

Reviewed by: Matt Ahrens <mahr...@delphix.com>
Reviewed by: Serapheim Dimitropoulos <seraph...@delphix.com>

Upstream Bugs: DLPX-50618, DLPX-50362, DLPX-52112, DLPX-52115
You can view, comment on, or merge this pull request online at:

  https://github.com/openzfs/openzfs/pull/649

-- Commit Summary --

  * 8862 ZFS Channel Programs - List Bookmarks & Holds

-- File Changes --

    M usr/src/man/man1m/zfs-program.1m (23)
    M usr/src/pkg/manifests/system-test-zfstest.mf (6)
    M usr/src/test/zfs-tests/include/libtest.shlib (12)
    A 
usr/src/test/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_bookmarks.ksh
 (120)
    A 
usr/src/test/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_holds.ksh
 (121)
    M usr/src/uts/common/fs/zfs/zcp_iter.c (253)

-- Patch Links --

https://github.com/openzfs/openzfs/pull/649.patch
https://github.com/openzfs/openzfs/pull/649.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/649

------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/T7bbd116bcce85a18-Mea4ec88ac781510aa8296010
Delivery options: https://openzfs.topicbox.com/groups

Reply via email to