From: Shaohua Li <shli@xxxxxx> With cc27b0c78c79(md: fix deadlock between mddev_suspend() and md_write_start()), pers->make_request could bail out without handling the bio. If that happens, we should retry. There are two call sites we don't do the retry and cause problems. This set fixes the issues. Thanks, Shaohua Shaohua Li (3): md: separate request handling md: fix a race condition for flush request handling dm-raid: fix a race condition in request handling drivers/md/dm-raid.c | 2 +- drivers/md/md.c | 72 +++++++++++++++++++++++++++++++--------------------- drivers/md/md.h | 1 + 3 files changed, 45 insertions(+), 30 deletions(-) -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html