mirror_zfs/cmd
LOLi dddef7d600 More ashift improvements
This commit allow higher ashift values (up to 16) in 'zpool create'

The ashift value was previously limited to 13 (8K block) in b41c990
because the limited number of uberblocks we could fit in the
statically sized (128K) vdev label ring buffer could prevent the
ability the safely roll back a pool to recover it.

Since b02fe35 the largest uberblock size we support is 8K: this
allow us to store a minimum number of 16 uberblocks in the vdev
label, even with higher ashift values.

Additionally change 'ashift' pool property behaviour: if set it will
be used as the default hint value in subsequent vdev operations
('zpool add', 'attach' and 'replace'). A custom ashift value can still
be specified from the command line, if desired.

Finally, fix a bug in add-o_ashift.ksh caused by a missing variable.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #2024 
Closes #4205 
Closes #4740 
Closes #5763
2017-05-03 09:31:05 -07:00
..
arc_summary Correct arc_summary and dbufstat python style 2017-03-09 10:21:59 -08:00
arcstat Correct exit code for dbufstat -v and arcstat -v 2016-10-06 10:52:21 -07:00
dbufstat Correct arc_summary and dbufstat python style 2017-03-09 10:21:59 -08:00
fsck_zfs Add /sbin/fsck.zfs helper 2013-01-09 16:54:58 -08:00
mount_zfs Use cstyle -cpP in make cstyle check 2016-12-12 10:46:26 -08:00
raidz_test Fix "undefined reference to xdr_control" when building raidz_test cmd 2017-03-28 10:47:50 -07:00
vdev_id vdev_id: fix failure due to multipath -l bug 2017-04-20 12:10:55 -07:00
zdb Add zfs_nicebytes() to print human-readable sizes 2017-05-02 13:43:53 -07:00
zed Add missing includes to zed_log.c 2017-04-12 08:57:25 -07:00
zfs Add zfs_nicebytes() to print human-readable sizes 2017-05-02 13:43:53 -07:00
zhack Fix zhack argument processing 2016-08-31 14:32:46 -07:00
zinject Fix spelling 2017-01-03 11:31:18 -06:00
zpios Fix spelling 2017-01-03 11:31:18 -06:00
zpool More ashift improvements 2017-05-03 09:31:05 -07:00
zstreamdump OpenZFS 7252 - compressed zfs send / receive 2017-04-26 12:31:43 -07:00
ztest Rename zfs_* functions 2017-03-10 09:51:35 -08:00
zvol_id OpenZFS 6314 - buffer overflow in dsl_dataset_name 2016-06-28 13:47:03 -07:00
Makefile.am SIMD implementation of vdev_raidz generate and reconstruct routines 2016-06-21 09:27:26 -07:00