Re: [Qemu-devel] [PATCH] scsi: Dequeue requests before invoking completion callback

2010-07-22 Thread Aurelien Jarno
On Tue, Jul 13, 2010 at 02:13:45PM +0200, Jan Kiszka wrote: > The request completion callback of the LSI controller may start the next > request that can use the same tag as the completed one. As the latter is > still enqueued at that point, scsi_send_command will complain about the > tag reuse and

[Qemu-devel] [PATCH] scsi: Dequeue requests before invoking completion callback

2010-07-13 Thread Jan Kiszka
The request completion callback of the LSI controller may start the next request that can use the same tag as the completed one. As the latter is still enqueued at that point, scsi_send_command will complain about the tag reuse and cancel the completed request. That will cause a double free later o