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

use string objects for node->path #16

Open thiell opened 5 years ago

thiell commented 5 years ago

Currently node->path is a C string that can be free'd on rename (in update_paths()) and this is not always safe. In a multithreaded environment, we need an immutable string object with refcnt. This will likely be in v0.5.