Project

General

Profile

Bug #7338

interface to get createtxg for a bookmark

Added by Daniel Kimmel over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
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

Related to illumos gate - Bug #7386: zfs get does not work properly with bookmarksClosed2016-09-16

Actions

History

#1

Updated by Marcel Telka about 3 years ago

  • Related to Bug #7386: zfs get does not work properly with bookmarks added

Also available in: Atom PDF