File size of virtual file
问题 I'm using FUSE to create an overlay filesystem, where directories are augmented with virtual entities. I am setting the file size of these entities to 0, because I have no way of knowing -- ahead of reading them, which is particularly expensive in my case -- what they should be. However, there seems to be an obvious optimisation taking place, insofar as zero-length files don't incur any read call (only open and release ). My question therefore is simply, what should I set the file size to? I