summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-28 14:59:06 +0300
committerChristoph Hellwig <hch@lst.de>2020-10-07 08:56:19 +0300
commit0a05226a3a2038b28d78101239196222d375124a (patch)
treefb17fb19372991c1f4ab38cece7814c312950eac /tools/perf/scripts/python/export-to-sqlite.py
parentb2dc748a70c65a1b4eb1b9fceab57662cfd83e41 (diff)
downloadlinux-0a05226a3a2038b28d78101239196222d375124a.tar.xz
nvme: refactor nvme_validate_ns
Move the logic to revalidate the block_device size or remove the namespace from the caller into nvme_validate_ns. This removes the return value and thus the status code translation. Additionally it also catches non-permanent errors from nvme_update_ns_info using the existing logic. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <kbusch@kernel.org> 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