Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

Re: Re: [ntdev] Question about asynchronous IO

Maxim_S._ShatskihMaxim_S._Shatskih Member Posts: 10,396
>are completly 2 different stories. Even driver don’t support any IRP asynchronous processing, the
>user mode asynchronous is also supported, becase the support just comes from OS.

Not so.

If the driver _always blocks_ in the dispatch path and then completes the IRP in it without pending - then it kills overlapped IO on its handles.

In such a case, even though the overlapped IO from user will still work, it will lose its important behavior of "returning from read/write/IOCTL syscall ASAP". Instead, it will always block till the very completion.

--
Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
Writing WDF Drivers 25 Feb 2019 OSR Seminar Space
Developing Minifilters 8 April 2019 OSR Seminar Space