diff options
author | Jens Axboe <axboe@fb.com> | 2016-11-04 16:34:34 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-11-11 21:40:25 +0100 |
commit | bbd7bb7017d5c2b1e75f3818b4ce88fa58bb0eab (patch) | |
tree | 5a025d557bb82df1b27a209e924b0941f2c42aaa /drivers/nvme/target | |
parent | Block: mtip32xx: Improvement in code readability when memdup_user() fails. (diff) | |
download | linux-bbd7bb7017d5c2b1e75f3818b4ce88fa58bb0eab.tar.xz linux-bbd7bb7017d5c2b1e75f3818b4ce88fa58bb0eab.zip |
block: move poll code to blk-mq
The poll code is blk-mq specific, let's move it to blk-mq.c. This
is a prep patch for improving the polling code.
Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/target')
-rw-r--r-- | drivers/nvme/target/io-cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/target/io-cmd.c b/drivers/nvme/target/io-cmd.c index c2784cfc5e29..ef52b1e70144 100644 --- a/drivers/nvme/target/io-cmd.c +++ b/drivers/nvme/target/io-cmd.c @@ -96,7 +96,7 @@ static void nvmet_execute_rw(struct nvmet_req *req) cookie = submit_bio(bio); - blk_poll(bdev_get_queue(req->ns->bdev), cookie); + blk_mq_poll(bdev_get_queue(req->ns->bdev), cookie); } static void nvmet_execute_flush(struct nvmet_req *req) |