From: Li Nan <linan122@xxxxxxxxxx> Li Nan (3): md/raid10: check replacement and rdev to prevent submit the same io twice md/raid10: factor out get_rdev_repl_from_mirror() md/raid10: use get_rdev_repl_from_mirror() to get devices drivers/md/raid10.c | 43 ++++++++++++++++++++++++++----------------- 1 file changed, 26 insertions(+), 17 deletions(-) -- 2.39.2