summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/flamegraph-record
diff options
context:
space:
mode:
authorMeir Elisha <meir.elisha@volumez.com>2025-04-08 17:38:08 +0300
committerYu Kuai <yukuai3@huawei.com>2025-04-16 18:06:37 +0800
commitb7c178d9e57c8fd4238ff77263b877f6f16182ba (patch)
treeed6d2d3e9434b64829a87520527680180eb9339e /tools/perf/scripts/python/bin/flamegraph-record
parent6ec1f0239485028445d213d91cfee5242f3211ba (diff)
downloadkernel-b7c178d9e57c8fd4238ff77263b877f6f16182ba.tar.gz
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>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions
ers/net/wireless/iwlwifi/mvm/d3.c?h=linux-6.6.y&id=6039f3e196721a4bb08d85af5367e50201052145'>iwlwifi: mvm: fix WoWLAN RF-kill bugJohannes Berg 2013-03-06iwlwifi: mvm: implement remote wakeJohannes Berg 2013-03-06iwlwifi: a few fixes in licenseEmmanuel Grumbach 2013-02-27iwlwifi: fix wakeup status query and packet reportingJohannes Berg 2013-02-12iwlwifi: mvm: update station when marked associatedJohannes Berg 2013-02-12iwlwifi: mvm: report wakeup reasonsJohannes Berg 2013-02-11iwlwifi: mvm: fix locking in iwl_mvm_ipv6_addr_changeEmmanuel Grumbach 2013-02-01iwlwifi: add the MVM driverJohannes Berg