Re: [Qemu-devel] [PATCH v3 02/21] scsi-generic: Remove bogus double complete

2011-05-20 Thread Christoph Hellwig
On Tue, May 17, 2011 at 01:00:48PM +0200, Paolo Bonzini wrote: > scsi-generic scsi_read_complete() should not -both- call the client > complete callback with SCSI_REASON_DATA -and- call > scsi_command_complete(). The former will cause the client to queue a > new read or write request, while the la

[Qemu-devel] [PATCH v3 02/21] scsi-generic: Remove bogus double complete

2011-05-17 Thread Paolo Bonzini
scsi-generic scsi_read_complete() should not -both- call the client complete callback with SCSI_REASON_DATA -and- call scsi_command_complete(). The former will cause the client to queue a new read or write request, while the later will free the request data structure, thus causing the new read or