summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2025-02-27 15:04:52 +0300
committerYu Kuai <yukuai@kernel.org>2025-03-04 19:31:27 +0300
commit1320fe874175fac395fa693195db68b2001c4d8f (patch)
treea61d8749aadcf5f8cb0d715a408c9cc8bb5c2de5 /tools/perf/scripts/python/export-to-sqlite.py
parent8542870237c3a48ff049b6c5df5f50c8728284fa (diff)
downloadlinux-1320fe874175fac395fa693195db68b2001c4d8f.tar.xz
md/raid5: merge reshape_progress checking inside get_reshape_loc()
During code review, it's found that other than raid5_bitmap_sector(), reshape_progress is always checked before get_reshape_loc(), while raid5_bitmap_sector() should check as well to prevent holding the lock 'conf->device_lock'. Hence merge that checking inside get_reshape_loc(). Link: https://lore.kernel.org/linux-raid/20250227120452.808503-1-yukuai1@huaweicloud.com Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions