Hi all Now mkfs on raid10 which is combined with ssd/nvme disks takes a long time. This patch set tries to resolve this problem. Xiao Ni (3): Move codes related with submitting discard bio into one function extend r10bio devs to raid disks improve raid10 discard request drivers/md/md.c | 22 ++++ drivers/md/md.h | 3 + drivers/md/raid0.c | 15 +-- drivers/md/raid10.c | 297 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 4 files changed, 318 insertions(+), 19 deletions(-) -- 2.7.5