diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2017-03-13 14:27:51 +0300 |
---|---|---|
committer | Sagi Grimberg <sagi@grimberg.me> | 2017-03-21 19:38:46 +0300 |
commit | 945dd5bacc8978439af276976b5dcbbd42333dbc (patch) | |
tree | 51abbd169efcc4deed4e4b17a613b3e887d40727 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | c248c64387fac5a6b31b343d9acb78f478e8619c (diff) | |
download | linux-945dd5bacc8978439af276976b5dcbbd42333dbc.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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions