1
0
Fork 0
remarkable-linux/drivers/nvme
Sagi Grimberg 8f21b63c9d nvme-loop: handle cpu unplug when re-establishing the controller
[ Upstream commit 945dd5bacc ]

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>
2017-12-25 14:23:37 +01:00
..
host nvme: use kref_get_unless_zero in nvme_find_get_ns 2017-12-20 10:07:31 +01:00
target nvme-loop: handle cpu unplug when re-establishing the controller 2017-12-25 14:23:37 +01:00
Kconfig nvmet: add a generic NVMe target 2016-07-05 11:30:33 -06:00
Makefile nvmet: add a generic NVMe target 2016-07-05 11:30:33 -06:00