Joseph,
It turns out that the FastIo support in RDBSS is very limited. Here are
the answers to your questions from one of the redirector devs:
"RDBSS doesn’t support this fastio dispatch vector. So there is no way
to combine all these into a single operation.
"You can override the fastio dispatch vector with your own vector. Then
you should call into the RDBSS FastIO routines if you don’t want to
handle the requests yourselves. (essentially you take over just the
request you are interested in. All the rest, pass on to rdbss.)
"You can process the request completely in your driver or even
selectively do processing - i.e. sometimes return TRUE and sometimes
FALSE.
“The bottom line is that if you don’t think you can handle a request,
call into the RDBSS fastIO routines.”
To answer your questions:
Yes, it is fine to replace the fastIO handler after you have registered
with RDBSS. This is what SMB does.
Yes, if you want you can process the request entirely in your fastIO
handler.
Yes, you can return FALSE from your handler when you want.
Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
rights
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Joseph Galbraith
Sent: Tuesday, November 02, 2004 11:20 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] FastIoQueryOpen & minirdr…
When looking at filespy logging for my redirector
during, for example, a file save operation in
MS Word, I notice a bunch of calls through
the FastIoQueryOpen which get failed and
then show up to my redirector as a
Create / QueryInfo / Close sequence.
Is there anyway I can get RDBSS to send those
to me as a single operation (I could implement
that much more efficiently than the sequence
of three operations.)
Would it be a bad thing to steal back
the FastIoQueryOpen vector from RDBSS
after initializing RDBSS?
In other words, if I handle FastIoQueryOpen
in my driver rather than letting RDBSS handle
it would it cause problems for RDBSS?
What about if I always process the request in
my FastIoQueryOpen().
What if I sometimes where to return FALSE
so that the IRP sequence was generated?
Thanks,
Joseph
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com