nvme-rdma: don't override opts->queue_size
authorSagi Grimberg <sagi@grimberg.me>
Tue, 19 Jun 2018 12:34:13 +0000 (15:34 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 20 Jun 2018 12:20:51 +0000 (14:20 +0200)
commit5e77d61cbc7e766778037127dab69e6410a8fc48
tree4f9404d1b3994bb30281b9892c91b53b6226bbc5
parentc947657b15379505a9bba36a02005882b66abe57
nvme-rdma: don't override opts->queue_size

That is user argument, and theoretically controller limits can change
over time (over reconnects/resets).  Instead, use the sqsize controller
attribute to check queue depth boundaries and use it to the tagset
allocation.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/rdma.c