diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2017-03-13 13:27:51 +0200 |
---|---|---|
committer | Sagi Grimberg <sagi@grimberg.me> | 2017-03-21 18:38:46 +0200 |
commit | 945dd5bacc8978439af276976b5dcbbd42333dbc (patch) | |
tree | 51abbd169efcc4deed4e4b17a613b3e887d40727 /scripts/gdb/linux/dmesg.py | |
parent | c248c64387fac5a6b31b343d9acb78f478e8619c (diff) |
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 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions