Files
linux/drivers/md
Meir Elisha b7c178d9e5 md/raid1: Add check for missing source disk in process_checks()
During recovery/check operations, the process_checks function loops
through available disks to find a 'primary' source with successfully
read data.

If no suitable source disk is found after checking all possibilities,
the 'primary' index will reach conf->raid_disks * 2. Add an explicit
check for this condition after the loop. If no source disk was found,
print an error message and return early to prevent further processing
without a valid primary source.

Link: https://lore.kernel.org/linux-raid/20250408143808.1026534-1-meir.elisha@volumez.com
Signed-off-by: Meir Elisha <meir.elisha@volumez.com>
Suggested-and-reviewed-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
2025-04-16 18:06:37 +08:00
..
2024-12-23 08:17:23 -07:00
2024-04-01 11:53:37 -06:00
2024-06-26 11:32:39 -04:00
2025-03-24 18:28:32 +01:00
2024-02-20 14:22:51 -05:00
2025-01-17 22:24:04 +01:00
2025-01-17 22:24:11 +01:00
2024-12-23 08:17:23 -07:00
2024-11-20 11:38:04 +01:00
2024-11-20 11:38:04 +01:00
2025-01-13 07:36:29 -08:00
2025-01-13 07:36:29 -08:00