Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How does that handle concurrent writes to the same block? How is the cache invalidated?


The single FUSE process can coordinate all that with an in-memory mutex.

This thread is in the context of filesystems like ext4, which are completely unsafe for concurrent mounts - if you connect from multiple machines then it will just corrupt horrifically. If your filesystem was glusterfs, moose/lizard, or lustre, then they have ways to handle this (with on-disk locks/semaphores in some other sector).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: