-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce getting holds and listing bookmarks through ZCP #7902
Conversation
These changes are based on top of redacted send receive and should be open for a clean review once that lands first. |
I think this is ready to go, but it's labeled "work in progress". Is there something else we're looking for here? I checked one of the failed tests and it has:
Which I'm not sure if they are related to this change. |
@ahrens This work is based on top of Redacted Send/Receive so that should go in first before this one is applied. |
Now that Redacted Send/Receive is in, we should get this in. I'm rebasing this work to rerun the tests |
@ahrens @pcd1193182 this looks like it can get reviewed now that redacted send/receive is in and the tests pass. |
4e6c17b
to
2b38299
Compare
tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_bookmarks.ksh
Outdated
Show resolved
Hide resolved
|
||
# Can't have bookmarks on snapshots, only on filesystems | ||
log_mustnot_program $TESTPOOL - <<-EOF | ||
zfs.list.bookmarks("$TESTPOOL/$TESTFS@$TESTSNAP") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this be a possible future enhancement? You could filter by the txg of the bookmark to find ones that match the snapshot.
tests/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_holds.ksh
Outdated
Show resolved
Hide resolved
f4a3536
to
31744cf
Compare
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: Matt Ahrens <[email protected]> Reviewed by: Serapheim Dimitropoulos <[email protected]> Ported-by: Serapheim Dimitropoulos <[email protected]> OpenZFS-issue: https://illumos.org/issues/8862 Signed-off-by: Dan Kimmel <[email protected]>
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.
How Has This Been Tested?
New tests added to ZTS.
Has been in DelphixOS(illumos) for more than a year.
Types of changes
Checklist:
Signed-off-by
.