SerCeMan / jnr-fuse

FUSE implementation in Java using Java Native Runtime (JNR)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Calls open method on Windows during searching for a file and viewing a file property

arvgord opened this issue · comments

Hi, @SerCeMan !

Thanks for the useful FUSE library!
I've implemented the FUSE plugin for the Google Cloud Healthcare DICOM API. It works perfect on Linux but on Windows, I got an issue.
In the open method, I implemented a retrieving DICOM file from the server and cache it in the user's local storage on disk. When I open a file, I cache it and get file size from the server. I found that on Windows calls open method during searching for a file and viewing a file property(in jnr-fuse examples, it works similarly). This greatly reduces performance because I got unnecessary caching while searching for files. But in Linux open method calls only when I open a file. Could you help me with this issue?

Hey, @arvgord!

Nice work on the plugin! I think the behaviour might be related to the underlying behaviour of winfsp. Could you duplicate your question there?

I close this issue. I think the same question in WinFsp repo may help someone!=)
winfsp/winfsp#247