summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMinwoo Im <minwoo.im.dev@gmail.com>2020-11-30 15:47:46 +0300
committerChristoph Hellwig <hch@lst.de>2020-12-01 22:36:37 +0300
commitaa9d729592316e121110daa81604f71f82663167 (patch)
tree8ec4f46c5afb9104e0c28b2d691ae18328cd8fb4 /tools/perf/scripts/python/export-to-postgresql.py
parent8c4dfea97f15b80097b3f882ca428fb2751ec30c (diff)
downloadlinux-aa9d729592316e121110daa81604f71f82663167.tar.xz
nvme: improve an error message on Identify failure
Add the namespace ID to the error message when the Identify command used to retrieve the Namespace Identification Descriptor list fails. This avoids rather useless and duplicative messages like the following: [ 1.321031] nvme nvme0: Identify Descriptors failed (16386) [ 1.321948] nvme nvme0: Identify Descriptors failed (16386) [ 1.322872] nvme nvme0: Identify Descriptors failed (16386) [ 1.323775] nvme nvme0: Identify Descriptors failed (16386) [ 1.324687] nvme nvme0: Identify Descriptors failed (16386) ... Also, print the nvme status code in hexadecimal rather than decimal format rather for better readability. Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions