Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2020 23:23:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 244178] [FUSEFS]: underlying file modified leads to corrupted fuse data
Message-ID:  <bug-244178-227-cAAbM6JRIU@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-244178-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-244178-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244178

--- Comment #1 from Alan Somers <asomers@FreeBSD.org> ---
In step 5, are you extending the underlying file from EOF onwards, or are you
rewriting the whole thing?  And in step 7, is the data correct up until the old
EOF, or is it all wrong?

Do you have a standalone test case that can demonstrate the problem?

It sounds to me like the correct answer might be for the fuse server to return
FOPEN_DIRECT_IO for every FUSE_OPEN request.  That would prevent the kernel
from using the cache at all.

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244178-227-cAAbM6JRIU>