aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorDaniel Wagner <dwagner@suse.de>2021-09-14 11:20:06 +0200
committerChristoph Hellwig <hch@lst.de>2021-09-21 09:17:09 +0200
commit555f66d0f8a38537456acc77043d0e4469fcbe8e (patch)
tree943012955e43aba3ebe2c52bd650197e948eb709 /tools/perf/util/c++/clang.cpp
parent858560b27645e7e97aca37ee8f232cccd658fbd2 (diff)
nvme-fc: update hardware queues before using them
In case the number of hardware queues changes, we need to update the tagset and the mapping of ctx to hctx first. If we try to create and connect the I/O queues first, this operation will fail (target will reject the connect call due to the wrong number of queues) and hence we bail out of the recreate function. Then we will to try the very same operation again, thus we don't make any progress. Signed-off-by: Daniel Wagner <dwagner@suse.de> Reviewed-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions