summaryrefslogtreecommitdiff
path: root/usr/src/cmd/truss/codes.c
diff options
context:
space:
mode:
authorMatthew Ahrens <matt@delphix.com>2011-11-05 17:34:13 -0700
committerMatthew Ahrens <matt@delphix.com>2011-11-05 17:34:13 -0700
commite5351341b58845eee9d722bd71543d5a7c26b6cc (patch)
tree2d9aacc747d3cd7765fcfa6c9cb3f3853e1eb4e9 /usr/src/cmd/truss/codes.c
parent6e6df3cf62ece86f43c1a3218dc4b7797d9ce731 (diff)
downloadillumos-joyent-e5351341b58845eee9d722bd71543d5a7c26b6cc.tar.gz
1644 add ZFS "clones" property
1645 add ZFS "written" and "written@..." properties 1646 "zfs send" should estimate size of stream 1647 "zfs destroy" should determine space reclaimed by destroying multiple snapshots 1708 adjust size of zpool history data Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: George Wilson <gwilson@zfsmail.com> Approved by: Gordon Ross <gwr@nexenta.com>
Diffstat (limited to 'usr/src/cmd/truss/codes.c')
-rw-r--r--usr/src/cmd/truss/codes.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/src/cmd/truss/codes.c b/usr/src/cmd/truss/codes.c
index 119dba0aac..7d9a0f0cea 100644
--- a/usr/src/cmd/truss/codes.c
+++ b/usr/src/cmd/truss/codes.c
@@ -21,6 +21,7 @@
/*
* Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011 by Delphix. All rights reserved.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
@@ -1202,8 +1203,6 @@ const struct ioc {
"zfs_cmd_t" },
{ (uint_t)ZFS_IOC_PROMOTE, "ZFS_IOC_PROMOTE",
"zfs_cmd_t" },
- { (uint_t)ZFS_IOC_DESTROY_SNAPS, "ZFS_IOC_DESTROY_SNAPS",
- "zfs_cmd_t" },
{ (uint_t)ZFS_IOC_SNAPSHOT, "ZFS_IOC_SNAPSHOT",
"zfs_cmd_t" },
{ (uint_t)ZFS_IOC_DSOBJ_TO_DSNAME, "ZFS_IOC_DSOBJ_TO_DSNAME",
@@ -1248,6 +1247,10 @@ const struct ioc {
"zfs_cmd_t" },
{ (uint_t)ZFS_IOC_OBJ_TO_STATS, "ZFS_IOC_OBJ_TO_STATS",
"zfs_cmd_t" },
+ { (uint_t)ZFS_IOC_SPACE_WRITTEN, "ZFS_IOC_SPACE_WRITTEN",
+ "zfs_cmd_t" },
+ { (uint_t)ZFS_IOC_DESTROY_SNAPS_NVL, "ZFS_IOC_DESTROY_SNAPS_NVL",
+ "zfs_cmd_t" },
/* kssl ioctls */
{ (uint_t)KSSL_ADD_ENTRY, "KSSL_ADD_ENTRY",