]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
nvme-fc: don't override opts->nr_io_queues
authorSagi Grimberg <sagi@grimberg.me>
Thu, 29 Jun 2017 08:16:49 +0000 (11:16 +0300)
committerSagi Grimberg <sagi@grimberg.me>
Tue, 4 Jul 2017 06:43:26 +0000 (09:43 +0300)
commit7314183d1d0c200def4d0f5a6d978d3b29d28813
tree9328c3e0f507e4cc494ffb2b2fa8ba72068e2a12
parent01ad0990467eaa17ae17db7376a4f02739f558c0
nvme-fc: don't override opts->nr_io_queues

Its what the user passed, so its probably a better
idea to keep it intact. Also, limit the number of
I/O queues to max online cpus and the lport maximum
hw queues.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/fc.c