Skip to content
Discussion options

You must be logged in to vote

Of course, race conditions are still possible, just as with any other concurrent I/O. For example, unionfs-fuse uses the FUSE page cache. My question rather was whether fuse-overlayfs implements additional caching that might cause issues not related to race conditions.

I did some testing and the answer is: It does. fuse-overlayfs doesn't just end up doing weird things like native overlayfs, it just completely breaks.

Let's create a simple test setup for unionfs-fuse vs. native overlayfs vs. fuse-overlayfs:

test:~ $ mkdir lower upper work union
test:~ $ mount … # see below
test:~ $ echo foo > lower/file1
test:~ $ cat union/file1
foo
test:~ $ echo bar > union/file1
test:~ $ ls lower upper u…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@giuseppe
Comment options

@PhrozenByte
Comment options

Answer selected by PhrozenByte
@giuseppe
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants