]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3f3a1a31db10ae4662e5f1c4ed762f2750c234a8
tree4f9404d1b3994bb30281b9892c91b53b6226bbc5
parentb649d090fed0530d16c192dfaccefc45f8e8af9f
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