diff options
author | Li Nan <linan122@huawei.com> | 2023-06-24 01:32:34 +0800 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2023-07-27 00:13:30 -0700 |
commit | 605eeda6e70f692311b36180f217208d367476f6 (patch) | |
tree | 27d5a58768101c22def615c27975c0569049aa72 /samples/hw_breakpoint | |
parent | ffb1e7a03f966065323b18c96da23a2118a19529 (diff) |
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 'samples/hw_breakpoint')
0 files changed, 0 insertions, 0 deletions