diff options
author | 2020-11-12 09:23:01 +0100 | |
---|---|---|
committer | 2020-12-01 20:36:36 +0100 | |
commit | ff4e5fbad06f762b8551da56e8fd64ad14c8aa3e (patch) | |
tree | 3cb909fafbf6ded41cdf64573c217462482e3359 /tools/perf/scripts/python/stackcollapse.py | |
parent | nvmet: use inline bio for passthru fast path (diff) | |
download | linux-dev-ff4e5fbad06f762b8551da56e8fd64ad14c8aa3e.tar.xz linux-dev-ff4e5fbad06f762b8551da56e8fd64ad14c8aa3e.zip |
nvme-pci: drop min() from nr_io_queues assignment
in nvme_setup_io_queues() the number of I/O queues is set to either 1 in
case of a quirky Apple device or to the min of nvme_max_io_queues() or
dev->nr_allocated_queues - 1.
This is unnecessarily complicated as dev->nr_allocated_queues is only
assigned once and is nvme_max_io_queues() + 1.
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions