diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2017-03-09 13:26:07 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-08 10:26:10 +0200 |
commit | 9b6f9da9e55a41bb6ff1fbd0a3e7ebe3c33fec74 (patch) | |
tree | bbbae2a3b5c74c22272050e2345746bb2544cf3d /net | |
parent | 67e8be27ff725764263998e6ea179a7a05517466 (diff) |
nvme-rdma: handle cpu unplug when re-establishing the controller
[ Upstream commit c248c64387fac5a6b31b343d9acb78f478e8619c ]
If a cpu unplug event has occured, we need to take the minimum
of the provided nr_io_queues and the number of online cpus,
otherwise we won't be able to connect them as blk-mq mapping
won't dispatch to those queues.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions