svn commit: r337214 - vendor-sys/illumos/dist/common/zfs vendor-sys/illumos/dist/uts/common/sys/fs vendor/illumos/dist/lib/libzfs/common vendor/illumos/dist/man/man1m
Alexander Motin
mav at FreeBSD.org
Fri Aug 3 00:20:01 UTC 2018
Author: mav
Date: Fri Aug 3 00:19:59 2018
New Revision: 337214
URL: https://svnweb.freebsd.org/changeset/base/337214
Log:
9621 Make createtxg and guid properties public
illumos/illumos-gate at e8d4a73c868afb740396041be80ed2b141065e76
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Reviewed by: Paul Dagnelie <pcd at delphix.com>
Reviewed by: Matt Ahrens <matt at delphix.com>
Reviewed by: Yuri Pankov <yuripv at yuripv.net>
Approved by: Robert Mustacchi <rm at joyent.com>
Author: Josh Paetzel <josh at tcbug.org>
Modified:
vendor/illumos/dist/lib/libzfs/common/libzfs_dataset.c
vendor/illumos/dist/man/man1m/zfs.1m
Changes in other areas also in this revision:
Modified:
vendor-sys/illumos/dist/common/zfs/zfs_prop.c
vendor-sys/illumos/dist/uts/common/sys/fs/zfs.h
Modified: vendor/illumos/dist/lib/libzfs/common/libzfs_dataset.c
==============================================================================
--- vendor/illumos/dist/lib/libzfs/common/libzfs_dataset.c Fri Aug 3 00:14:36 2018 (r337213)
+++ vendor/illumos/dist/lib/libzfs/common/libzfs_dataset.c Fri Aug 3 00:19:59 2018 (r337214)
@@ -2753,6 +2753,7 @@ zfs_prop_get(zfs_handle_t *zhp, zfs_prop_t prop, char
break;
case ZFS_PROP_GUID:
+ case ZFS_PROP_CREATETXG:
/*
* GUIDs are stored as numbers, but they are identifiers.
* We don't want them to be pretty printed, because pretty
Modified: vendor/illumos/dist/man/man1m/zfs.1m
==============================================================================
--- vendor/illumos/dist/man/man1m/zfs.1m Fri Aug 3 00:14:36 2018 (r337213)
+++ vendor/illumos/dist/man/man1m/zfs.1m Fri Aug 3 00:19:59 2018 (r337214)
@@ -550,6 +550,13 @@ Compression can be turned on by running:
.Nm zfs Cm set Sy compression Ns = Ns Sy on Ar dataset .
The default value is
.Sy off .
+.It Sy createtxg
+The transaction group (txg) in which the dataset was created.
+Bookmarks have the same
+.Sy createtxg
+as the snapshot they are initially tied to.
+This property is suitable for ordering a list of snapshots,
+e.g. for incremental send and receive.
.It Sy creation
The time this dataset was created.
.It Sy clones
@@ -581,6 +588,14 @@ the dataset tree.
This value is only available when a
.Sy filesystem_limit
has been set somewhere in the tree under which the dataset resides.
+.It Sy guid
+The 64 bit GUID of this dataset or bookmark which does not change over its
+entire lifetime.
+When a snapshot is sent to another pool, the received snapshot has the same
+GUID.
+Thus, the
+.Sy guid
+is suitable to identify a snapshot across pools.
.It Sy logicalreferenced
The amount of space that is
.Qq logically
More information about the svn-src-all
mailing list