diff options
author | Li Nan <linan122@huawei.com> | 2023-07-01 11:05:27 +0300 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2023-07-27 10:13:30 +0300 |
commit | 7e85c41b9e1df9192c225afd7cfec8dcad137feb (patch) | |
tree | b3ca8e4185b65a0054366c0306912c8a2e98cbdb /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 21bd9a68fef47c4f0e951be9a6fac9745cee1bab (diff) | |
download | linux-7e85c41b9e1df9192c225afd7cfec8dcad137feb.tar.xz |
md/raid10: check replacement and rdev to prevent submit the same io twice
After commit 4ca40c2ce099 ("md/raid10: Allow replacement device to be
replace old drive."), 'rdev' and 'replacement' could appear to be
identical. There are already checks for that in wait_blocked_dev() and
raid10_write_request(). Add check for raid10_handle_discard() now.
Signed-off-by: Li Nan <linan122@huawei.com>
Link: https://lore.kernel.org/r/20230701080529.2684932-2-linan666@huaweicloud.com
Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions