[PATCH 0/3] Async opens and IRP_MJ_CREATE (try 2)

Charles Davis cdavis at mymail.mines.edu
Wed Nov 11 09:02:47 CST 2009


Hi,

This patch series adds IRP_MJ_CREATE support. It also makes some opens
asynchronous (from the server's point of view). This allows ntoskrnl in
patch 3 to open the device while ntdll blocks in patch 2 waiting for the
open to finish.

The reason for this is so, in a forthcoming patch, I can have mountmgr
handle DOS drive management, and part of that is opening FDs to the
corresponding unix devices. I need IRP_MJ_CREATE so mountmgr knows when
the device is opened. Then it, in turn, can open an FD to pass back to
wineserver so the caller can use it.

This patch series fixes an issue with the last one where
device_open_file() would not set STATUS_PENDING as the last error. Now
ntdll waits for completion of the open. The tests pass, and wine
continues to function. I'm 100% sure these patches are correct.

Chip






More information about the wine-patches mailing list