commit | c248c64387fac5a6b31b343d9acb78f478e8619c | [log] [tgz] |
---|---|---|
author | Sagi Grimberg <sagi@grimberg.me> | Thu Mar 09 13:26:07 2017 +0200 |
committer | Sagi Grimberg <sagi@grimberg.me> | Tue Mar 21 18:38:41 2017 +0200 |
tree | 1fdb4de39c93fffa45c4c6458092a99857a87ca7 | |
parent | b25634e2a051bef4b2524b11adddfbfa6448f6cd [diff] |
nvme-rdma: handle cpu unplug when re-establishing the controller 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>