linux/drivers/nvme/target
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>
History 2017-12-25 14:23:37 +01:00
..
admin-cmd.c nvmet: fix KATO offset in Set Features 2017-11-30 08:39:15 +00:00
configfs.c nvmet: Fix possible infinite loop triggered on hot namespace removal 2017-01-06 10:40:14 +01:00
core.c nvmet: confirm sq percpu has scheduled and switched to atomic 2017-12-20 10:07:25 +01:00
discovery.c nvmet: use symbolic constants for CNS values 2016-10-19 11:36:22 -06:00
fabrics-cmd.c nvmet: add a generic NVMe target 2016-07-05 11:30:33 -06:00
io-cmd.c nvmet: Make dsm number of ranges zero based 2016-09-23 15:37:38 -07:00
Kconfig nvme: fabrics drivers don't need the nvme-pci driver 2016-08-19 14:22:28 +03:00
loop.c nvme-loop: handle cpu unplug when re-establishing the controller 2017-12-25 14:23:37 +01:00
Makefile nvmet-rdma: add a NVMe over Fabrics RDMA target driver 2016-07-08 08:38:49 -06:00
nvmet.h nvmet: confirm sq percpu has scheduled and switched to atomic 2017-12-20 10:07:25 +01:00
rdma.c nvmet-rdma: Fix a possible uninitialized variable dereference 2017-12-20 10:07:25 +01:00