diff options
author | Pascal Hambourg <[email protected]> | 2022-04-13 08:53:56 +0200 |
---|---|---|
committer | Song Liu <[email protected]> | 2022-04-25 14:00:37 -0700 |
commit | ea23994edc4169bd90d7a9b5908c6ccefd82fa40 (patch) | |
tree | 85a273b1cc1b107b261e7dae56fea7eaa7948ac1 /scripts/gdb/linux/utils.py | |
parent | 4631f39f058b98bfa3fd1d6ffb491fa9e70e3e81 (diff) |
md/raid0: Ignore RAID0 layout if the second zone has only one device
The RAID0 layout is irrelevant if all members have the same size so the
array has only one zone. It is *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.
So in that case it makes sense to allow assembly even when the layout is
undefined, like what is done when the array has only one zone.
Reviewed-by: NeilBrown <[email protected]>
Signed-off-by: Pascal Hambourg <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions