In previous IRP processing I could get and WRITE or MDL_COMPLETE (Minor
Function). There was also a fastio call for WRITE and another one for
MDL_WRITE_COMPLETE. If you failed the MDL_WRITE_COMPLETE in the fastio call
it came down the Irp WRITE path as a minor function.
Now there is a call back for IRP_MJ_WRITE and IRP_MJ_MDL_WRITE_COMPLETE.
Will a IRP_MJ_WRITE also get the mdl complete as a minor function? If I
handle both call backs will I get a duplicate request? Once down the
IRP_MJ_WRITE_COMPLETE and once for the IRP_MJ_WRITE? Is it enough to handle
only IRP_MJ_WRITE and see everything?
Ken
Ken,
You will not receive duplicate operations.
Yes we did add an IRP_MJ_MDL_WRITE_COMPLETE command but it only handles the operation coming down the fastio path. You can still get a write with the MDL_COMPLETE minor code when it comes down the IRP path. We did not try and consolidate these paths.
Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Ken Galipeau
Sent: Tuesday, March 30, 2004 11:02 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Filter Manager Writes
In previous IRP processing I could get and WRITE or MDL_COMPLETE (Minor Function). There was also a fastio call for WRITE and another one for?MDL_WRITE_COMPLETE. If you failed the MDL_WRITE_COMPLETE in the fastio call it came down the Irp WRITE path as a minor function.
?
Now there is?a call back for IRP_MJ_WRITE and IRP_MJ_MDL_WRITE_COMPLETE. Will a IRP_MJ_WRITE also get the?mdl complete as a minor function??If I handle both call backs will I get a duplicate request? Once down the IRP_MJ_WRITE_COMPLETE and once for the IRP_MJ_WRITE? Is it enough to handle only IRP_MJ_WRITE and see everything?
?
Ken
?
?
Questions? First check the IFS FAQ at The NT Insider:Windows NT Virtual Memory (Part I)
You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com