my fuse filesystem reads file attributes from a file from disk. Does FUSE need to re-read it again and again every time when myfs_getattr() is called? Or does it cache it anyhow, so if myfs_getattr() is called twice, it remembers the previous result for the given file and returns without re-reading?
Or, do I have to implement the caching myself?
Thank you very much