Hi,
When I was implementing the Fast IO QueryOpen interface, I noticed that NT(explorer) issues a number of such fastIo open to my FSD. However, I don’t see any close call on the file object created in the dispatch (I allocated FCB, CCB in it as normal Create dispatch does )
My question is if I should close the file implicitly myself after filling the file information. Otherwise, when the close call will be issued?
Another question out of curiosity, why explorer issues so many FastIo Quey Open calls? Or something is wrong with my driver that makes the Explorer to do so?
Thanks!
Lijun Wang
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
This is a single call - you are to open the file, satisfy the query, and
close the file. The IRP_MJ_CREATE is used simply to hold all of the
information necessary. When the call terminates, the file should not be
open.
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com http:
-----Original Message-----
From: Lijun Wang [mailto:xxxxx@yahoo.com]
Sent: Monday, December 16, 2002 3:32 PM
To: File Systems Developers
Subject: [ntfsd] FastIo Query Open
Hi,
When I was implementing the Fast IO QueryOpen interface, I noticed that
NT(explorer) issues a number of such fastIo open to my FSD. However, I don’t
see any close call on the file object created in the dispatch (I allocated
FCB, CCB in it as normal Create dispatch does )
My question is if I should close the file implicitly myself after filling
the file information. Otherwise, when the close call will be issued?
Another question out of curiosity, why explorer issues so many FastIo Quey
Open calls? Or something is wrong with my driver that makes the Explorer to
do so?
Thanks!
Lijun Wang
_____
Do you Yahoo!?
Yahoo! http: Mail
Plus - Powerful. Affordable. Sign up now
http: — You are
currently subscribed to ntfsd as: xxxxx@osr.com To unsubscribe send a blank
email to %%email.unsub%%</http:></http:></http:>
Any Win32’s “query some file info by name” function like GetFileAttributesEx - which are NT’s syscalls NtQueryAttributesFile and NtQueryFullAttributesFile will trigger FastIoQueryOpen.
FastIoQueryOpen is provided with dummy file object with only ->FileName valid, it must not initialize a file object, it must just extract the necessary info by the name and fill it to the provided structure.
Max
----- Original Message -----
From: Lijun Wang
To: File Systems Developers
Sent: Monday, December 16, 2002 11:31 PM
Subject: [ntfsd] FastIo Query Open
Hi,
When I was implementing the Fast IO QueryOpen interface, I noticed that NT(explorer) issues a number of such fastIo open to my FSD. However, I don’t see any close call on the file object created in the dispatch (I allocated FCB, CCB in it as normal Create dispatch does )
My question is if I should close the file implicitly myself after filling the file information. Otherwise, when the close call will be issued?
Another question out of curiosity, why explorer issues so many FastIo Quey Open calls? Or something is wrong with my driver that makes the Explorer to do so?
Thanks!
Lijun Wang
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now — You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To unsubscribe send a blank email to %%email.unsub%%