diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2018-12-14 22:06:08 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-12-18 19:50:48 +0300 |
commit | 26c682274e0a7d055e123499eac8ec39d0e04283 (patch) | |
tree | 34ccbf551b6a43e559af5dec2c220522af606ed5 /drivers/nvme/target | |
parent | 6287b51c77e6d8f05f772931cf51d80e81651a9f (diff) | |
download | linux-26c682274e0a7d055e123499eac8ec39d0e04283.tar.xz |
nvme-fabrics: allow nvmf_connect_io_queue to poll
Preparation for polling support for fabrics. Polling support
means that our completion queues are not generating any interrupts
which means we need to poll for the nvmf io queue connect as well.
Reviewed by Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/target')
-rw-r--r-- | drivers/nvme/target/loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/target/loop.c b/drivers/nvme/target/loop.c index 9908082b32c4..4aac1b4a8112 100644 --- a/drivers/nvme/target/loop.c +++ b/drivers/nvme/target/loop.c @@ -345,7 +345,7 @@ static int nvme_loop_connect_io_queues(struct nvme_loop_ctrl *ctrl) int i, ret; for (i = 1; i < ctrl->ctrl.queue_count; i++) { - ret = nvmf_connect_io_queue(&ctrl->ctrl, i); + ret = nvmf_connect_io_queue(&ctrl->ctrl, i, false); if (ret) return ret; set_bit(NVME_LOOP_Q_LIVE, &ctrl->queues[i].flags); |