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
Add proper library versioning
[zfs.git]
/
module
/
zcommon
/
zpool_prop.c
diff --git
a/module/zcommon/zpool_prop.c
b/module/zcommon/zpool_prop.c
index
37d977f
..
30a64d5
100644
(file)
--- a/
module/zcommon/zpool_prop.c
+++ b/
module/zcommon/zpool_prop.c
@@
-87,6
+87,10
@@
zpool_prop_init(void)
PROP_READONLY, ZFS_TYPE_POOL, "<1.00x or higher if deduped>",
"DEDUP");
PROP_READONLY, ZFS_TYPE_POOL, "<1.00x or higher if deduped>",
"DEDUP");
+ /* readonly onetime number properties */
+ zprop_register_number(ZPOOL_PROP_ASHIFT, "ashift", 0, PROP_ONETIME,
+ ZFS_TYPE_POOL, "<ashift, 9-17, or 0=default>", "ASHIFT");
+
/* default number properties */
zprop_register_number(ZPOOL_PROP_VERSION, "version", SPA_VERSION,
PROP_DEFAULT, ZFS_TYPE_POOL, "<version>", "VERSION");
/* default number properties */
zprop_register_number(ZPOOL_PROP_VERSION, "version", SPA_VERSION,
PROP_DEFAULT, ZFS_TYPE_POOL, "<version>", "VERSION");