mirror_zfs/cmd/zpool
Alexander Motin b9356f06ed Explicit set ashift for non-leaf vdevs
Before this change ashift property was applied only to a leaf
vdevs.  As result, it worked only as a minimal value for parent
vdevs, since bigger physical_ashift value reported by any child
could be used instead when deciding parent's ashift, as if the
ashift property was never set.

This change explicitly passes ZPOOL_CONFIG_ASHIFT to all vdevs,
allowing override for parents only if the passed value is below
logical_ashift and so unacceptable.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Allan Jude <allan@klarasystems.com>
Reviewed-by: Rob Norris <rob.norris@klarasystems.com>
Signed-off-by: Alexander Motin <alexander.motin@TrueNAS.com>
Closes #17826
2025-10-21 09:50:43 -07:00
..
compatibility.d Update compatibility.d files 2025-09-09 17:04:01 -07:00
os GCC 15: Fix unterminated-string-initialization (#17244) 2025-04-16 09:33:29 -07:00
zpool.d zed: misc vdev_enc_sysfs_path fixes 2023-11-07 09:09:24 -08:00
Makefile.am Update compatibility.d files 2025-09-09 17:04:01 -07:00
zpool_iter.c pool_iter_refresh: don't refresh pools twice 2025-10-21 09:50:43 -07:00
zpool_main.c zpool iostat: update pool counter when skipping boot row 2025-10-21 09:50:43 -07:00
zpool_util.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zpool_util.h zpool iostat: refresh pool list every interval 2025-09-29 16:50:49 -07:00
zpool_vdev.c Explicit set ashift for non-leaf vdevs 2025-10-21 09:50:43 -07:00