diff options
author | 2023-07-01 16:05:28 +0800 | |
---|---|---|
committer | 2023-07-27 00:13:30 -0700 | |
commit | b99f8fd2d91eb734f13098aa1cf337edaca454b7 (patch) | |
tree | 5f1ece777891e5a8c9348604422e460f7bf31f3b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | md/raid10: check replacement and rdev to prevent submit the same io twice (diff) | |
download | wireguard-linux-b99f8fd2d91eb734f13098aa1cf337edaca454b7.tar.xz wireguard-linux-b99f8fd2d91eb734f13098aa1cf337edaca454b7.zip |
md/raid10: factor out dereference_rdev_and_rrdev()
Factor out a helper to get 'rdev' and 'replacement' from config->mirrors.
Just to make code cleaner and prepare to fix the bug of io loss while
'replacement' replace 'rdev'.
There is no functional change.
Signed-off-by: Li Nan <linan122@huawei.com>
Link: https://lore.kernel.org/r/20230701080529.2684932-3-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