diff options
| author | Sagi Grimberg <sagi@grimberg.me> | 2017-03-13 14:27:51 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@fb.com> | 2017-04-04 18:44:43 +0300 |
| commit | 6ecda70ea9c1bf37d2abdcf52dfe06d023276173 (patch) | |
| tree | 75d1987654f3ad9bbd3eaf91d8f947568cb2aa77 /include/linux | |
| parent | d476983ea078b7a101481967a3bb5ab6760cf759 (diff) | |
| download | linux-6ecda70ea9c1bf37d2abdcf52dfe06d023276173.tar.xz | |
nvme-loop: 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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
