HomeFreeBSD

On the first vdev open ignore impossible ashift hints

Description

On the first vdev open ignore impossible ashift hints

If on the first open device's logical ashift is bigger than set
by pool's ashift property, ignore the last as unusable instead of
creating vdev that will fail most of I/Os due to misalignment.

Reviewed-by: Rob Norris <robn@despairlabs.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ameer Hamza <ahamza@ixsystems.com>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #16690

Details

Provenance
mavAuthored on Oct 29 2024, 7:23 PM
Tony Hutter <hutter2@llnl.gov>Committed on Nov 6 2024, 6:06 PM
Parents
rG73b3e8acef77: Fix gcc uninitialized warning in FreeBSD zio_crypt.c
Branches
Unknown
Tags
Unknown