threefoldtech / 0-fs

A new filesystem for zero-os that leverage on unionfs and a thin fuse layer to get the files on demand
Apache License 2.0
0 stars 1 forks source link

Make sure that file exists in cache #40

Closed muhamadazmy closed 4 years ago

muhamadazmy commented 4 years ago

Even for stat only access we make sure file exists in cache to preserve it's inode number. it seems that some software validate that the inode number returns by stat is the same one returned for the open file descriptor

Download is only yet happen when the file is open for reading