aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2020-03-02 08:56:53 -0800
committerKeith Busch <[email protected]>2020-03-26 04:48:06 +0900
commit324b494c286298d51bc5ed5107644ebe23f9dad6 (patch)
tree7275665bb636d064223d12bd780e2a3e6a4fdd11 /tools/perf/scripts/python/export-to-sqlite.py
parentbf392a5dc02a9b796f3da89fc5bb42856aca64cb (diff)
nvme-pci: Remove two-pass completions
Completion handling had been done in two steps: find all new completions under a lock, then handle those completions outside the lock. This was done to make the locked section as short as possible so that other threads using the same lock wait less time. The driver no longer shares locks during completion, and is in fact lockless for interrupt driven queues, so the optimization no longer serves its original purpose. Replace the two-pass completion queue handler with a single pass that completes entries immediately. Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions