diff options
author | 2023-06-24 01:32:34 +0800 | |
---|---|---|
committer | 2023-07-27 00:13:30 -0700 | |
commit | 605eeda6e70f692311b36180f217208d367476f6 (patch) | |
tree | 27d5a58768101c22def615c27975c0569049aa72 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | md/raid1: prioritize adding disk to 'removed' mirror (diff) | |
download | wireguard-linux-605eeda6e70f692311b36180f217208d367476f6.tar.xz wireguard-linux-605eeda6e70f692311b36180f217208d367476f6.zip |
md/raid10: optimize fix_read_error
We dereference r10_bio->read_slot too many times in fix_read_error().
Optimize it by using a variable to store read_slot.
Signed-off-by: Li Nan <linan122@huawei.com>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20230623173236.2513554-2-linan666@huaweicloud.com
Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions