summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2014-03-13 04:53:39 +0400
committerRusty Russell <rusty@rustcorp.com.au>2014-03-13 04:57:56 +0400
commit5261b85e586afe6ebe54e16e0a8acc32fc6d4902 (patch)
tree10ec38ad40d5e80e527b397c9f086d89d7175175 /tools/perf/scripts/python/export-to-postgresql.py
parenta7c58146cf9a782113629021ba5420582fef265e (diff)
downloadlinux-5261b85e586afe6ebe54e16e0a8acc32fc6d4902.tar.xz
virtio_blk: don't crash, report error if virtqueue is broken.
A bad implementation of virtio might cause us to mark the virtqueue broken: we'll dev_err() in that case, and the device is useless, but let's not BUG_ON(). ENOMEM or ENOSPC implies the ring is full, and we should try again later (-ENOMEM is documented to happen, but doesn't, as we fall through to ENOSPC). EIO means it's broken. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions