nvme: remove opportunistic polling from bdev target
authorJens Axboe <axboe@kernel.dk>
Mon, 19 Nov 2018 15:29:33 +0000 (08:29 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 26 Nov 2018 15:25:48 +0000 (08:25 -0700)
It doesn't set HIPRI on the bio, so polling for it is pretty silly.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/target/io-cmd-bdev.c

index c1ec3475a1407a1f0a52ff4d12f214fbe7c8df12..c1cb2ed5531ce5d5164a473b5dc810df4e6804a0 100644 (file)
@@ -115,8 +115,6 @@ static void nvmet_bdev_execute_rw(struct nvmet_req *req)
        }
 
        cookie = submit_bio(bio);
-
-       blk_poll(bdev_get_queue(req->ns->bdev), cookie);
 }
 
 static void nvmet_bdev_execute_flush(struct nvmet_req *req)