md: add md_submit_discard_bio() for submitting discard bio
Move these logic from raid0.c to md.c, so that we can also use it in raid10.c. Reviewed-by:Coly Li <colyli@suse.de> Reviewed-by:
Guoqing Jiang <guoqing.jiang@cloud.ionos.com> Tested-by:
Adrian Huang <ahuang12@lenovo.com> Signed-off-by:
Xiao Ni <xni@redhat.com> Signed-off-by:
Song Liu <songliubraving@fb.com>
parent
14d97622
Please register or sign in to comment