Commit e7d94391 authored by Jens Axboe's avatar Jens Axboe

nvme: remove opportunistic polling from bdev target

It doesn't set HIPRI on the bio, so polling for it is pretty silly.
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 9743139c
...@@ -115,8 +115,6 @@ static void nvmet_bdev_execute_rw(struct nvmet_req *req) ...@@ -115,8 +115,6 @@ static void nvmet_bdev_execute_rw(struct nvmet_req *req)
} }
cookie = submit_bio(bio); cookie = submit_bio(bio);
blk_poll(bdev_get_queue(req->ns->bdev), cookie);
} }
static void nvmet_bdev_execute_flush(struct nvmet_req *req) static void nvmet_bdev_execute_flush(struct nvmet_req *req)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment