From: Li Nan <linan122@xxxxxxxxxx> I recently identified a flush deadlock issue, which can be resolved by this patch set. After testing for a day in an environment where the problem can be easily reproduced, I did not encounter the issue again. Before a complete overwrite of the md flush, first fix the issue with this patch set. Li Nan (2): md: change the return value type of md_write_start to void md: fix deadlock between mddev_suspend and flush bio drivers/md/md.h | 2 +- drivers/md/md.c | 40 +++++++++++++++++++--------------------- drivers/md/raid1.c | 3 +-- drivers/md/raid10.c | 3 +-- drivers/md/raid5.c | 3 +-- 5 files changed, 23 insertions(+), 28 deletions(-) -- 2.39.2