K 10 svn:author V 5 eugen K 8 svn:date V 27 2024-02-16T05:32:34.319491Z K 7 svn:log V 602 graid: MFC: unbreak Promise RAID1 with 4+ providers Fix a problem in graid implementation of Promise RAID1 created with 4+ disks. Such an array generally works fine until reboot only due to a bug in metadata writing code. Before the fix, next taste erronously created RAID1E (kind of RAID10) instead of RAID1, hence graid used wrong offsets for I/O operations. The bug did not affect Promise RAID1 arrays with 2 or 3 disks only. Reviewed by: mav (cherry picked from commit 81092e92ea5184c4eeedad58044d72cfef72dd24) Git Hash: 68bc302ed0e08d496ee1d7be3cdc9e880ed12893 Git Author: eugen@FreeBSD.org END