1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 01:06:50 +00:00

Merge pull request #480 from alex3d/patch-1

Optimized fuse inode cache
This commit is contained in:
TW 2015-12-10 10:05:09 +01:00
commit c4588e4eb4

View file

@ -28,7 +28,7 @@ def add(self, item):
def get(self, inode):
self.fd.seek(inode - self.offset, io.SEEK_SET)
return next(msgpack.Unpacker(self.fd))
return next(msgpack.Unpacker(self.fd, read_size=512))
class FuseOperations(llfuse.Operations):