aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorHalil Pasic <[email protected]>2020-02-13 13:37:28 +0100
committerMichael S. Tsirkin <[email protected]>2020-03-08 05:35:24 -0400
commit3d973b2e9a625996ee997c7303cd793b9d197c65 (patch)
tree98fa7f3f92323a8c404b99d22ff34be3d97ad3a4 /tools/perf/scripts/python/exported-sql-viewer.py
parentf5f6b95c72f7f8bb46eace8c5306c752d0133daa (diff)
virtio-blk: improve virtqueue error to BLK_STS
Let's change the mapping between virtqueue_add errors to BLK_STS statuses, so that -ENOSPC, which indicates virtqueue full is still mapped to BLK_STS_DEV_RESOURCE, but -ENOMEM which indicates non-device specific resource outage is mapped to BLK_STS_RESOURCE. Signed-off-by: Halil Pasic <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions