[disk] Allow for asynchronous IRP completion
authorShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Sun, 30 May 2010 05:27:48 +0000 (01:27 -0400)
committerShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Sun, 30 May 2010 05:27:48 +0000 (01:27 -0400)
commit7851226757d4ef03b7fdc7fe8341fbcc755ddbd5
tree2d2a51477e279705dc37cab53c6089b7a0a80728
parentc3bbae2932391febefafa00590744e3b648455e1
[disk] Allow for asynchronous IRP completion

After much debugging, it was revealed that in order to use
ZwReadFile() for a file-backed disk during boot, one needs
to return STATUS_PENDING to the caller and start a worker
thread who will use ZwReadFile() and then complete the IRP.
src/winvblock/disk/scsi.c