Actions
Bug #7338
openinterface to get createtxg for a bookmark
Start date:
2016-08-30
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
Today the only way to get the createtxg for a bookmark from user land is to use:
int
lzc_get_bookmarks(const char *fsname, nvlist_t *props, nvlist_t **bmarks)
{
return (lzc_ioctl(ZFS_IOC_GET_BOOKMARKS, fsname, props, bmarks));
}
This interface lists of the bookmarks for a given filesystem and fetches the requested set of properties.
If we already have the bookmark in question, we just want to fetch the createtxg property for it. Rather than having to list all bookmarks and filter we'd like to have an API that takes a bookmark and returns the property.
Related issues
Updated by Marcel Telka about 5 years ago
- Related to Bug #7386: zfs get does not work properly with bookmarks added
Actions