aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/fs/zfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/fs/zfs.h')
-rw-r--r--include/sys/fs/zfs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sys/fs/zfs.h b/include/sys/fs/zfs.h
index 25f256251..44aed1335 100644
--- a/include/sys/fs/zfs.h
+++ b/include/sys/fs/zfs.h
@@ -707,6 +707,7 @@ typedef struct ddt_histogram {
#define ZVOL_MINOR_BITS 4
#define ZVOL_MINOR_MASK ((1U << ZVOL_MINOR_BITS) - 1)
#define ZVOL_MINORS (1 << 4)
+#define ZVOL_DEV_NAME "zd"
#define ZVOL_PROP_NAME "name"
#define ZVOL_DEFAULT_BLOCKSIZE 8192
@@ -782,6 +783,11 @@ typedef enum zfs_ioc {
} zfs_ioc_t;
/*
+ * zvol ioctl to get dataset name
+ */
+#define BLKZNAME _IO(0x12,125)
+
+/*
* Internal SPA load state. Used by FMA diagnosis engine.
*/
typedef enum {