projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bdb50c
)
dm: always call blk_queue_split() in dm_process_bio()
author
Mike Snitzer
<snitzer@redhat.com>
Fri, 22 Feb 2019 14:52:02 +0000
(09:52 -0500)
committer
Mike Snitzer
<snitzer@redhat.com>
Tue, 5 Mar 2019 19:53:32 +0000
(14:53 -0500)
Do not just call blk_queue_split() if the bio is_abnormal_io().
Fixes: 568c73a355e ("dm: update dm_process_bio() to split bio if in ->make_request_fn()")
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm.c
b/drivers/md/dm.c
index d8a844c522e6ee7818f7e0caf26c9daaf078c93e..68d24056d0b1c17d7fa0c271d1d5582d7eb72c89 100644
(file)
--- 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);
}