summaryrefslogtreecommitdiff
path: root/drivers/md
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index d8a844c522e6..68d24056d0b1 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -1735,9 +1735,8 @@ static blk_qc_t dm_process_bio(struct mapped_device *md,
* won't be imposed.
*/
if (current->bio_list) {
- if (is_abnormal_io(bio))
- blk_queue_split(md->queue, &bio);
- else
+ blk_queue_split(md->queue, &bio);
+ if (!is_abnormal_io(bio))
dm_queue_split(md, ti, &bio);
}