zfs/lib
Brian Behlendorf ca5fd24984 Limit maximum ashift value to 12
While we initially allowed you to set your ashift as large as 17
(SPA_MAXBLOCKSIZE) that is actually unsafe.  What wasn't considered
at the time is that each uberblock written to the vdev label ring
buffer will be of this size.  Now the buffer is statically sized
to 128k and we need to be able to fit several uberblocks in it.
With a large ashift that becomes a problem.

Therefore I'm reducing the maximum configurable ashift value to 12.
This is large enough for the 4k sector drives and small enough that
we can still keep the most recent 32 uberblock in the vdev label
ring buffer.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #425
2011-11-11 14:50:48 -08:00
..
libavl Simplify BDI integration 2011-11-08 10:19:03 -08:00
libefi Simplify BDI integration 2011-11-08 10:19:03 -08:00
libnvpair Simplify BDI integration 2011-11-08 10:19:03 -08:00
libshare Simplify BDI integration 2011-11-08 10:19:03 -08:00
libspl Simplify BDI integration 2011-11-08 10:19:03 -08:00
libunicode Simplify BDI integration 2011-11-08 10:19:03 -08:00
libuutil Simplify BDI integration 2011-11-08 10:19:03 -08:00
libzfs Limit maximum ashift value to 12 2011-11-11 14:50:48 -08:00
libzpool Simplify BDI integration 2011-11-08 10:19:03 -08:00
Makefile.am Implemented sharing datasets via NFS using libshare. 2011-07-06 09:20:28 -07:00
Makefile.in Simplify BDI integration 2011-11-08 10:19:03 -08:00