mirror_zfs/module/zcommon
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
..
Makefile.in Add superscalar fletcher4 2016-11-04 10:53:03 -07:00
zfs_comutil.c Multipath autoreplace, control enclosure LEDs, event rate limiting 2016-10-19 12:55:59 -07:00
zfs_deleg.c OpenZFS 6931 - lib/libzfs: cleanup gcc warnings 2017-02-07 14:02:27 -08:00
zfs_fletcher_aarch64_neon.c Add superscalar fletcher4 2016-11-04 10:53:03 -07:00
zfs_fletcher_avx512.c Fletcher4: save/reload implementation context 2016-10-05 16:41:46 +02:00
zfs_fletcher_intel.c Fletcher4: save/reload implementation context 2016-10-05 16:41:46 +02:00
zfs_fletcher_sse.c codebase style improvements for OpenZFS 6459 port 2017-01-22 13:25:40 -08:00
zfs_fletcher_superscalar4.c Add superscalar fletcher4 2016-11-04 10:53:03 -07:00
zfs_fletcher_superscalar.c Add superscalar fletcher4 2016-11-04 10:53:03 -07:00
zfs_fletcher.c Use fletcher_4 routines natively with abd_iterate_func() 2017-02-01 09:34:22 -08:00
zfs_namecheck.c OpenZFS 7386 - zfs get does not work properly with bookmarks 2017-01-26 14:42:15 -08:00
zfs_prop.c OpenZFS 7304 - zfs filesystem/snapshot counts should be read-only 2017-01-23 10:17:35 -08:00
zfs_uio.c Use cstyle -cpP in make cstyle check 2016-12-12 10:46:26 -08:00
zpool_prop.c More ashift improvements 2017-05-03 09:31:05 -07:00
zprop_common.c Change KM_PUSHPAGE -> KM_SLEEP 2015-01-16 14:41:26 -08:00