summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-03-12 20:05:10 +0300
committerChristoph Hellwig <hch@lst.de>2019-04-05 09:07:56 +0300
commitcfe03c2ec46200dfefa5167e6a2bb50c0426c5f4 (patch)
tree92cac7d8c250bf1301e6a0e50a72746275d2e37a /tools/perf/scripts/python/export-to-postgresql.py
parent43e2d08d0790a09ee1d2c838e33343ee1bcaf610 (diff)
downloadlinux-cfe03c2ec46200dfefa5167e6a2bb50c0426c5f4.tar.xz
nvmet: avoid double errno conversions
Use errno_to_nvme_status to convert from a negative errno to a nvme status field instead of going through a blk_status_t. Also remove the pointless status variable in nvmet_bdev_execute_write_zeroes. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions