diff options
Diffstat (limited to 'drivers/md/dm-mpath.c')
-rw-r--r-- | drivers/md/dm-mpath.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index 203a0419d2b0..d94ba6f72ff5 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c | |||
@@ -520,7 +520,8 @@ static int multipath_clone_and_map(struct dm_target *ti, struct request *rq, | |||
520 | 520 | ||
521 | bdev = pgpath->path.dev->bdev; | 521 | bdev = pgpath->path.dev->bdev; |
522 | q = bdev_get_queue(bdev); | 522 | q = bdev_get_queue(bdev); |
523 | clone = blk_get_request(q, rq->cmd_flags | REQ_NOMERGE, GFP_ATOMIC); | 523 | clone = blk_get_request(q, rq->cmd_flags | REQ_NOMERGE, |
524 | BLK_MQ_REQ_NOWAIT); | ||
524 | if (IS_ERR(clone)) { | 525 | if (IS_ERR(clone)) { |
525 | /* EBUSY, ENODEV or EWOULDBLOCK: requeue */ | 526 | /* EBUSY, ENODEV or EWOULDBLOCK: requeue */ |
526 | if (blk_queue_dying(q)) { | 527 | if (blk_queue_dying(q)) { |