Read is being call on traversal of files

41 views
Skip to first unread message

Nikhilesh Susarla

unread,
Jun 5, 2023, 8:16:41 AM6/5/23
to WinFsp
I get a read call if I just traverse the files. Not opening/double-clicking the file. 

Is there any way to stop getting read calls when folder is opened or the traversing the files? 

Because read operations are costly as we call cloud to read data. But we don't want to receive read unless we want to open the file to read. 


Thank you

Ricardo Fonseca

unread,
Jun 6, 2023, 6:06:40 AM6/6/23
to WinFsp
Hello,

Are you using Windows Explorer to navigate inside the folder? Sometimes we've had Explorer reading files for no reason, i.e., it would call GetSecurityByName, then Open, then Read the first few bytes, and then Close, all these for certain files inside the folder.

I have not found any way to prevent it from happening, except maybe adding the mount point directory itself to the list of exclusions that is used by Windows Defender. Maybe give that a try and see what happens? Link for how to add it to the exclusion list: https://support.microsoft.com/en-us/windows/add-an-exclusion-to-windows-security-811816c0-4dfd-af4a-47e4-c301afe13b26

Cheers,
Ricardo Fonseca

Ricardo Fonseca

unread,
Jun 6, 2023, 7:57:58 AM6/6/23
to WinFsp
There is also the possibility of Windows Explorer reading image/video files for thumbnail display.

Bill Zissimopoulos

unread,
Jun 14, 2023, 3:00:55 AM6/14/23
to Nikhilesh Susarla, WinFsp

These read calls likely come from applications like Explorer in order to preview file content, show thumbnails, etc. In general I recommend mounting drives as network drives to minimize such calls.

 

Bill

--
You received this message because you are subscribed to the Google Groups "WinFsp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to winfsp+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/winfsp/c0b12600-6a3d-4eb0-a50c-5d23e7e804d7n%40googlegroups.com.

Nikhilesh Susarla

unread,
Jul 21, 2023, 2:41:27 PM7/21/23
to WinFsp
Network drive is actually out of option for my scenario
Reply all
Reply to author
Forward
0 new messages