usr/src/uts/common/sys/fs/zfs.h
changeset 2926 acfcfefbc60d
parent 2717 ed589a32259d
child 3126 4f4fb617fdd0
--- a/usr/src/uts/common/sys/fs/zfs.h	Mon Oct 16 10:09:13 2006 -0700
+++ b/usr/src/uts/common/sys/fs/zfs.h	Mon Oct 16 10:35:01 2006 -0700
@@ -327,6 +327,8 @@
 	ZFS_IOC_POOL_SCRUB,
 	ZFS_IOC_POOL_FREEZE,
 	ZFS_IOC_POOL_UPGRADE,
+	ZFS_IOC_POOL_GET_HISTORY,
+	ZFS_IOC_POOL_LOG_HISTORY,
 	ZFS_IOC_VDEV_ADD,
 	ZFS_IOC_VDEV_REMOVE,
 	ZFS_IOC_VDEV_ONLINE,
@@ -374,6 +376,16 @@
 #define	ZPOOL_ERR_OBJECT	"object"
 #define	ZPOOL_ERR_RANGE		"range"
 
+#define	HIS_MAX_RECORD_LEN	(MAXPATHLEN + MAXPATHLEN + 1)
+
+/*
+ * The following are names used in the nvlist describing
+ * the pool's history log.
+ */
+#define	ZPOOL_HIST_RECORD	"history record"
+#define	ZPOOL_HIST_TIME		"history time"
+#define	ZPOOL_HIST_CMD		"history command"
+
 #ifdef	__cplusplus
 }
 #endif