commit | dc2ad16ab2c1351832b862f938e6e12a517e3c12 | [log] [tgz] |
---|---|---|
author | Sagi Grimberg <sagi@grimberg.me> | Thu Mar 09 13:26:07 2017 +0200 |
committer | Jens Axboe <axboe@fb.com> | Tue Apr 04 09:48:23 2017 -0600 |
tree | 7bb04b0863f86a6426c6a4429727b5a890406abd | |
parent | 8d61413db604e456a3f67765752b12af3307cd9b [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> Signed-off-by: Jens Axboe <axboe@fb.com>