> On May 20, 2015, at 11:24 AM, Eitan Eliahu <elia...@vmware.com> wrote:
> If a NULL sent rather than an overlapped structure, the thread which calls 
> DeviceIOControl is blocked until the I/O is completed by the driver.

Agree. So, looks like we don’t need handling for STATUS_PENDING when overlapped 
structure is NULL.

> With respect to WFP related I/O I don't think we need to return pending 
> status from the driver. It should be fine to block the user mode thread 
> during the WFP transaction processing.

Sorin’s approach is to return STATUS_PENDING and make userspace block until the 
IRP is complete. I think he’s doing what you are asking for.

-- Nithin
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to