Open bbengfort opened 7 years ago
Added the following methods to Node: invalidate()
, InvalidateData()
, and InvalidateAttr()
based off the methods in [fuse/fs/serve.go#L1431](https://github.com/bazil/fuse/blob/master/fs/serve.go#L1431.
Am calling InvalidateData()
in Store()
for both Dir and File nodes. However this is not working and am getting a "error flushing filesystem at /~bbengfort: could not invalidate node 1: invalid argument"
I suspect this is about the NodeID attribute ... which I don't know how to deal with quite yet.
Make sure that FUSE invalidates the kernel cache so that all system calls go through our application.
Check the clockfs example in FUSE.