Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jan 2024 21:29:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 269330] fusefs: data corruption with mmap and either o_direct or fspacectl
Message-ID:  <bug-269330-227-TDZvCOwfAB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-269330-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-269330-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269330

--- Comment #2 from Alan Somers <asomers@FreeBSD.org> ---
Update: I can also produce the same corruption by mixing mmap'd writes and
copy_file_range, using fsx-rs 0.2.0 with a config like this:

flen =3D 524288
nomsyncafterwrite =3D true
[opsize]
max =3D 131072
min =3D 65536
[weights]
truncate =3D 0
fsync =3D 0
fdatasync =3D 0
punch_hole =3D 0
write =3D 0
mapwrite =3D 10
mapread =3D 0
read =3D 10
copy_file_range =3D 10

I also have a not-yet-committed test case in the fusefs test suite that
demonstrates the problem.

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



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