summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorSagi Grimberg <sagi@grimberg.me>2017-03-09 14:26:07 +0300
committerSagi Grimberg <sagi@grimberg.me>2017-03-21 19:38:41 +0300
commitc248c64387fac5a6b31b343d9acb78f478e8619c (patch)
tree1fdb4de39c93fffa45c4c6458092a99857a87ca7 /tools/perf/util/scripting-engines/trace-event-python.c
parentb25634e2a051bef4b2524b11adddfbfa6448f6cd (diff)
downloadlinux-c248c64387fac5a6b31b343d9acb78f478e8619c.tar.xz
nvme-rdma: 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