stanford-rc / fuse-migratefs

Filesystem overlay for transparent, distributed migration of active data across separate storage systems.
GNU General Public License v3.0
40 stars 10 forks source link

Optim stat() #14

Closed kcgthb closed 5 years ago

kcgthb commented 5 years ago

With fd.

thiell commented 5 years ago

c7c4dbd makes use of the fd provided by FUSE in getattr() if the file is open, so in this case, at each getattr we avoid:

Reading a file should now be lockless, so I expect this change to provide a performance improvement on read in multi-threaded mode, especially under mixed workload. This is worth a 0.3.2.