Message ID | 1609233522-25837-4-git-send-email-dannyshih@synology.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Fix order when split bio and send remaining back to itself | expand |
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index b3c3c8b..1a651d5 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1613,7 +1613,7 @@ static blk_qc_t __split_and_process_bio(struct mapped_device *md, bio_chain(b, bio); trace_block_split(b, bio->bi_iter.bi_sector); - ret = submit_bio_noacct(bio); + ret = submit_bio_noacct_add_head(bio); break; } }