aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2014-08-29 09:06:12 -0600
committerJens Axboe <axboe@fb.com>2014-11-04 13:17:09 -0700
commitb4ff9c8ddb6f0cec99a53ab26a5aa2ed0162c472 (patch)
treef5852bde4a98c4acb718ec9ddab8f56e51343c94 /tools/perf/scripts/python/event_analyzing_sample.py
parent695a4fe79ffa70023238b6b2d4c20fe1a05288fb (diff)
NVMe: Translate NVMe status to errno
This returns a more appropriate error for the "capacity exceeded" status. In case other NVMe statuses have a better errno, this patch adds a convience function to translate an NVMe status code to an errno for IO commands, defaulting to the current -EIO. Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions