Re: [ntfsd] It is possible to determine if a file is client side cached?

That depends on the network; and how much impact on the rest of the system is acceptable when the filter is running. Clearly the answer is different if you have a 14400 modem versus 16 GB/s CNA

Sent from Surface Pro

From: Maxim S. Shatskih
Sent: ‎Monday‎, ‎May‎ ‎12‎, ‎2014 ‎6‎:‎10‎ ‎AM
To: Windows File Systems Devs Interest List

Compared to network RTT, all of this is neglectable.

“Tracy Camp” wrote in message news:xxxxx@ntfsd…

UM callouts are always undesirable since every create operation on the CIFS redirector would have the additional latency of several context switches added to it, probably several new deadlock scenarios to work around, and various reliability constraints since UM processes can’t be relied on etc.

I think I may have found an answer however. FileInfo class FileRemoteProtocolInformation returns a FILE_REMOTE_PROTOCOL_INFORMATION struct, which has Protocol and Flags members that might indicate what I’m after, but I’ve not written the code to find out yet.

t.

On Thu, May 8, 2014 at 1:22 AM, Danilo Almeida wrote:

> While I don’t know the answer, it might be worth checking CSC ioctls:

These were only ever used in XP.

What is the OP’s scenario? I am wondering what make an up-call to UM code undesirable.

- Danilo


NTFSD is sponsored by OSR

OSR is hiring!! Info at http://www.osr.com/careers

For our schedule of debugging and file system seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTFSD is sponsored by OSR

OSR is hiring!! Info at http://www.osr.com/careers

For our schedule of debugging and file system seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer