Support ashift=13 for 8KB SSD block sizes
authorRichard Yao <ryao@cs.stonybrook.edu>
Mon, 13 Feb 2012 15:38:58 +0000 (10:38 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 13 Feb 2012 20:25:27 +0000 (12:25 -0800)
commitb41c9906dcc0d75099cba8374420a513a253beff
treed470abfbf7ed44b87ac64ac2515e0543129df91b
parentd2e032ca9cd62fd0e80cdce30c6d1c40421bf754
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 <behlendorf1@llnl.gov>
Closes #565
lib/libzfs/libzfs_pool.c
module/zcommon/zpool_prop.c