summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-28 13:34:04 +0300
committerChristoph Hellwig <hch@lst.de>2020-10-07 08:56:18 +0300
commitfab72f5a046883ae5851c95b7c6e7a08f984e391 (patch)
tree29a4d6a5d5f47c4b70bdf084aa39f75f3fcfd028 /tools/perf/scripts/python/export-to-sqlite.py
parentb8b8cd013327327e757529a0725a8c754c7890e3 (diff)
downloadlinux-fab72f5a046883ae5851c95b7c6e7a08f984e391.tar.xz
nvme: call nvme_identify_ns as the first thing in nvme_alloc_ns_block
Check if the namespace actually exists as the very first thing and don't bother with any extra work if not. This should speed up and simplify the sequential scanning for NVMe 1.0 devices. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions