Re: [Qemu-devel] [PATCH 2/3] scsi/virtio-scsi: Cleanup of I/Os that never started

2014-01-14 Thread Eric Farman
On 01/14/2014 09:49 AM, Paolo Bonzini wrote: Il 14/01/2014 15:24, Eric Farman ha scritto: There is still a small window that occurs when a cancel I/O affects an asynchronous I/O operation that hasn't started. In other words, when the residual data length equals the expected data length. Today,

Re: [Qemu-devel] [PATCH 2/3] scsi/virtio-scsi: Cleanup of I/Os that never started

2014-01-14 Thread Paolo Bonzini
Il 14/01/2014 15:24, Eric Farman ha scritto: > There is still a small window that occurs when a cancel I/O affects > an asynchronous I/O operation that hasn't started. In other words, > when the residual data length equals the expected data length. > > Today, the routine virtio_scsi_command_compl

[Qemu-devel] [PATCH 2/3] scsi/virtio-scsi: Cleanup of I/Os that never started

2014-01-14 Thread Eric Farman
There is still a small window that occurs when a cancel I/O affects an asynchronous I/O operation that hasn't started. In other words, when the residual data length equals the expected data length. Today, the routine virtio_scsi_command_complete fails because the VirtIOSCSIReq pointer (from the h