summaryrefslogtreecommitdiff
path: root/blockdev.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2010-11-12 09:57:11 +0000
committerKevin Wolf <kwolf@redhat.com>2010-11-24 17:30:19 +0100
commitb30ccdb080bfadfcf447999fe16ba85529b7fc8c (patch)
tree75e8079858a8fb5ec6a809fd032a947911583cdc /blockdev.c
parentbbfbb6c3df392d170b53b0a519700738fea3570c (diff)
downloadqemu-b30ccdb080bfadfcf447999fe16ba85529b7fc8c.tar.gz
qemu-b30ccdb080bfadfcf447999fe16ba85529b7fc8c.tar.bz2
qemu-b30ccdb080bfadfcf447999fe16ba85529b7fc8c.zip
scsi-disk: Move active request asserts
SCSI read/write requests should not be re-issued before the current fragment of I/O completes. There are asserts in scsi-disk.c that guard this constraint but they trigger on SPARC Linux 2.4. It turns out that the asserts are too early in the code path and don't allow for read requests to terminate. Only the read assert needs to be moved but move the write assert too for consistency. Reported-by: Nigel Horne <njh@bandsman.co.uk> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions