diff options
author | Xiao Ni <xni@redhat.com> | 2020-08-25 07:42:59 +0200 |
---|---|---|
committer | Song Liu <songliubraving@fb.com> | 2020-09-25 01:44:45 +0200 |
commit | 2628089b74d5a64bd0bcb5d247a18f78d7b6f4d0 (patch) | |
tree | 47ba9f41e75f0dfaa6fda2a52e37d491b54b00a8 /drivers/md/dm-kcopyd.c | |
parent | md: Simplify code with existing definition RESYNC_SECTORS in raid10.c (diff) | |
download | linux-2628089b74d5a64bd0bcb5d247a18f78d7b6f4d0.tar.xz linux-2628089b74d5a64bd0bcb5d247a18f78d7b6f4d0.zip |
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>
Signed-off-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
Diffstat (limited to 'drivers/md/dm-kcopyd.c')
0 files changed, 0 insertions, 0 deletions