|
From: Hartmut B. <har...@te...> - 2002-04-27 10:37:08
|
The call to IoCompletRequest from atapi doesn't free the virtual address space and the memory from the mdl within the irp. Normaly IoSecondStageCompletion does call IoReadWriteCompletion for read/write requests and IoReadWriteCompletion does the job. ScsiClassBuildRequest sets the function within the irp to IRP_MJ_SCSI and IoReadWriteCompletion is never called. I have added the necessary code to ScsiClassIoComplete, but I'm not sure, if this is the right position. There is also a wrong call to IoMarkIrpPending in ScsiClassReadWrite. - Hartmut |