From b41c9906dcc0d75099cba8374420a513a253beff Mon Sep 17 00:00:00 2001 From: Richard Yao Date: Mon, 13 Feb 2012 10:38:58 -0500 Subject: Support ashift=13 for 8KB SSD block sizes New SSDs are now available which use an internal 8k block size. To make sure ZFS can get the maximum performance out of these devices we're increasing the maximum ashift to 13 (8KB). This value is still small enough that we can fit 16 uberblocks in the vdev ring label. However, I don't want to increase this any futher or it will limit the ability the safely roll back a pool to recover it. Signed-off-by: Brian Behlendorf Closes #565 --- module/zcommon/zpool_prop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/zcommon') diff --git a/module/zcommon/zpool_prop.c b/module/zcommon/zpool_prop.c index 310598a6f..249dd64bb 100644 --- a/module/zcommon/zpool_prop.c +++ b/module/zcommon/zpool_prop.c @@ -89,7 +89,7 @@ zpool_prop_init(void) /* readonly onetime number properties */ zprop_register_number(ZPOOL_PROP_ASHIFT, "ashift", 0, PROP_ONETIME, - ZFS_TYPE_POOL, "", "ASHIFT"); + ZFS_TYPE_POOL, "", "ASHIFT"); /* default number properties */ zprop_register_number(ZPOOL_PROP_VERSION, "version", SPA_VERSION, -- cgit v1.2.3