4 ms·
How does that handle concurrent writes to the same block? How is the cache invalidated?
by DaiPlusPlus 3y ago
How does that handle concurrent writes to the same block? How is the cache invalidated?
- mappu 3y agoThe 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).