Doloops / mcachefs

mcachefs : Simple filesystem-based file cache based on fuse
64 stars 15 forks source link

updating previously cached files when they are updated in the backend. #24

Closed hradec closed 4 years ago

hradec commented 4 years ago

at re-mounts, It seems mcachefs detects a previously cached file is outdated, but will throw an error, forcing to always use the source file instead of updating the cached file.

This change fix that, properly updating the cache so subsequent reads to the same file will be done from the cache as it should.