commit | f1b5286803ee66f73034f1f5e0e1cf14f4415f94 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Wed Jan 27 13:12:35 2010 +0100 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri Jan 29 09:53:01 2010 -0600 |
tree | 9a47d0fc8e4ffbe91edc1e32ad5532e4fffa12c7 | |
parent | bc6694d43a68baa864dba7742354a379a3347f33 [diff] |
virtio-blk: Fix restart after read error Current code assumes that only write requests are ever going to be restarted. This is wrong since rerror=stop exists. Instead of directly starting writes, use the same request processing as used for new requests. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>