]> 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)
commit48b4f32a60a43fc39217a73903bfc8693da0ab30
tree4f9404d1b3994bb30281b9892c91b53b6226bbc5
parentcac13c8c94e3b2a3a38989ec92ba43de5e670f36
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