Re: RAID0 layout if strip_zone[1].nb_dev=1 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/04/2022, NeilBrown wrote:
On Wed, 06 Apr 2022, Pascal Hambourg wrote:

This is a question about original/alternate layout enforcement for RAID0
arrays with members of different sizes introduced by commits
c84a1372df929033cb1a0441fb57bd3932f39ac9 ("md/raid0: avoid RAID0 data
corruption due to layout confusion.)" and
33f2c35a54dfd75ad0e7e86918dcbe4de799a56c ("md: add feature flag
MD_FEATURE_RAID0_LAYOUT").

The layout is irrelevant if all members have the same size so the array
has only one zone. But isn't it also irrelevant if the array has two
zones and the second zone has only one device, for example if the array
has two members of different sizes ?

Yes.

So wouldn't it make sense to allow assembly even when the layout is undefined, like what is done when the array has only one zone ?



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux