diff options
| author | Li Nan <linan122@huawei.com> | 2025-09-18 14:57:58 +0300 |
|---|---|---|
| committer | Yu Kuai <yukuai@fnnas.com> | 2025-11-11 06:17:33 +0300 |
| commit | 6c6b66f65e5510eb5de6a2342d6b37ac5c7bd678 (patch) | |
| tree | 4585d49637f6518a4b4c02a40693e6f5a51d9e9c /scripts/objdiff | |
| parent | a811db39198817c91b60adb5e2a8f8bfe76012e4 (diff) | |
| download | linux-6c6b66f65e5510eb5de6a2342d6b37ac5c7bd678.tar.xz | |
md: prevent adding disks with larger logical_block_size to active arrays
When adding a disk to a md array, avoid updating the array's
logical_block_size to match the new disk. This prevents accidental
partition table loss that renders the array unusable.
The later patch will introduce a way to configure the array's
logical_block_size.
The issue was introduced before Linux 2.6.12-rc2.
Link: https://lore.kernel.org/linux-raid/20250918115759.334067-2-linan666@huaweicloud.com/
Fixes: d2e45eace8 ("[PATCH] Fix raid "bio too big" failures")
Signed-off-by: Li Nan <linan122@huawei.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Yu Kuai <yukuai@fnnas.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
