diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2017-03-09 13:26:07 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-04 09:48:23 -0600 |
commit | dc2ad16ab2c1351832b862f938e6e12a517e3c12 (patch) | |
tree | 7bb04b0863f86a6426c6a4429727b5a890406abd /drivers/nvme/target/rdma.c | |
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>
Diffstat (limited to 'drivers/nvme/target/rdma.c')
0 files changed, 0 insertions, 0 deletions