Rusty Russell
5261b85e58
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 >
2014-03-13 11:27:56 +10:30
..
2014-03-04 07:55:47 -08:00
2013-11-23 22:33:49 -08:00
2014-02-18 14:49:17 -08:00
2014-01-21 20:16:56 -08:00
2013-11-23 22:33:49 -08:00
2014-02-11 20:34:03 -07:00
2014-03-04 07:55:49 -08:00
2013-11-15 09:32:21 +09:00
2013-05-07 02:16:21 -04:00
2013-11-23 22:33:49 -08:00
2011-05-06 08:23:55 -06:00
2013-04-09 14:13:19 -04:00
2011-05-06 08:23:59 -06:00
2014-01-21 20:16:56 -08:00
2011-08-08 11:40:15 +02:00
2013-09-24 17:00:26 -07:00
2013-06-29 12:46:45 +04:00
2013-04-09 14:13:32 -04:00
2014-01-17 11:12:06 +01:00
2012-03-28 18:30:03 +01:00
2014-01-30 16:56:55 -08:00
2014-01-21 20:16:56 -08:00
2013-06-29 12:46:45 +04:00
2014-01-30 16:56:55 -08:00
2014-01-21 20:34:58 -08:00
2013-11-23 22:33:49 -08:00
2014-02-10 09:27:31 -07:00
2014-02-05 15:53:26 -08:00
2013-12-16 15:49:40 -05:00
2013-09-11 15:56:56 -07:00
2014-01-03 10:05:34 +01:00
2013-11-23 22:33:51 -08:00
2013-11-23 22:33:49 -08:00
2012-12-17 08:37:29 -06:00
2014-01-30 11:19:05 -08:00
2013-12-19 08:06:49 -07:00
2013-11-08 09:10:30 -07:00
2013-02-14 11:49:01 -08:00
2013-05-07 02:16:21 -04:00
2013-09-11 15:56:59 -07:00
2014-01-21 20:16:56 -08:00
2013-11-23 22:33:51 -08:00
2014-03-13 11:27:56 +10:30
2014-02-10 12:52:34 -07:00
2013-07-10 07:47:12 +02:00
2013-11-26 11:09:10 +01:00