v92 / libiorouter

libiorouter is LD_PRELOAD library for caching data and metadata requests from backend directory to local directory transparently to application.
GNU General Public License v3.0
6 stars 0 forks source link

open() does not handle zero sized cache files #3

Closed v92 closed 9 years ago

v92 commented 9 years ago

Because files can be created by openat() function (with zero size), we have to handle situation where size of file in cache is 0, so we have to reread it again from backend storage.

v92 commented 9 years ago

Fixed in cdfbdda .