diff options
author | Serapheim Dimitropoulos <[email protected]> | 2018-08-20 09:52:37 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-08-20 09:52:37 -0700 |
commit | a448a2557ec4938ed6944c7766fe0b8e6e5f6456 (patch) | |
tree | 1d622c6c40aeb9c34d233ad562b2920ab2ef651c /man | |
parent | fa84714abbb9316208bef7188009ee74204d532e (diff) |
Introduce read/write kstats per dataset
The following patch introduces a few statistics on reads and writes
grouped by dataset. These statistics are implemented as kstats
(backed by aggregate sums for performance) and can be retrieved by
using the dataset objset ID number. The motivation for this change is
to provide some preliminary analytics on dataset usage/performance.
Reviewed-by: Richard Elling <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed by: Matthew Ahrens <[email protected]>
Signed-off-by: Serapheim Dimitropoulos <[email protected]>
Closes #7705
Diffstat (limited to 'man')
-rw-r--r-- | man/man8/zfs.8 | 10 | ||||
-rw-r--r-- | man/man8/zpool.8 | 11 |
2 files changed, 20 insertions, 1 deletions
diff --git a/man/man8/zfs.8 b/man/man8/zfs.8 index 02141da71..d21966c3d 100644 --- a/man/man8/zfs.8 +++ b/man/man8/zfs.8 @@ -718,6 +718,16 @@ This property can be either .Sy yes or .Sy no . +.It Sy objsetid +A unique identifier for this dataset within the pool. Unlike the dataset's +.Sy guid +, the +.Sy objsetid +of a dataset is not transferred to other pools when the snapshot is copied +with a send/receive operation. +The +.Sy objsetid +can be reused (for a new datatset) after the dataset is deleted. .It Sy origin For cloned file systems or volumes, the snapshot from which the clone was created. diff --git a/man/man8/zpool.8 b/man/man8/zpool.8 index b3196399d..44ee116f3 100644 --- a/man/man8/zpool.8 +++ b/man/man8/zpool.8 @@ -20,7 +20,7 @@ .\" .\" .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. -.\" Copyright (c) 2012, 2017 by Delphix. All rights reserved. +.\" Copyright (c) 2012, 2018 by Delphix. All rights reserved. .\" Copyright (c) 2012 Cyril Plisko. All Rights Reserved. .\" Copyright (c) 2017 Datto Inc. .\" Copyright (c) 2018 George Melikov. All Rights Reserved. @@ -562,6 +562,15 @@ Health can be one of .Sy ONLINE , DEGRADED , FAULTED , OFFLINE, REMOVED , UNAVAIL . .It Sy guid A unique identifier for the pool. +.It Sy load_guid +A unique identifier for the pool. +Unlike the +.Sy guid +property, this identifier is generated every time we load the pool (e.g. does +not persist across imports/exports) and never changes while the pool is loaded +(even if a +.Sy reguid +operation takes place). .It Sy size Total size of the storage pool. .It Sy unsupported@ Ns Em feature_guid |