git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Soft to hard tabs
[zfs.git]
/
include
/
sys
/
fs
/
zfs.h
diff --git
a/include/sys/fs/zfs.h
b/include/sys/fs/zfs.h
index
25f2562
..
a2b68ed
100644
(file)
--- a/
include/sys/fs/zfs.h
+++ b/
include/sys/fs/zfs.h
@@
-161,6
+161,7
@@
typedef enum {
ZPOOL_PROP_FREE,
ZPOOL_PROP_ALLOCATED,
ZPOOL_PROP_READONLY,
ZPOOL_PROP_FREE,
ZPOOL_PROP_ALLOCATED,
ZPOOL_PROP_READONLY,
+ ZPOOL_PROP_ASHIFT,
ZPOOL_NUM_PROPS
} zpool_prop_t;
ZPOOL_NUM_PROPS
} zpool_prop_t;
@@
-707,6
+708,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_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
#define ZVOL_PROP_NAME "name"
#define ZVOL_DEFAULT_BLOCKSIZE 8192
@@
-782,6
+784,11
@@
typedef enum zfs_ioc {
} zfs_ioc_t;
/*
} zfs_ioc_t;
/*
+ * zvol ioctl to get dataset name
+ */
+#define BLKZNAME _IOR(0x12,125,char[ZFS_MAXNAMELEN])
+
+/*
* Internal SPA load state. Used by FMA diagnosis engine.
*/
typedef enum {
* Internal SPA load state. Used by FMA diagnosis engine.
*/
typedef enum {