[Bug 289237] sys/fs/fusefs/last_local_modify:main testcase fails intermittently on arm64 in CI
Date: Sat, 27 Sep 2025 14:36:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289237
--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=7dc691b703537113c686add53e2789566c8ab9e6
commit 7dc691b703537113c686add53e2789566c8ab9e6
Author: Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2025-09-15 00:22:36 +0000
Commit: Alan Somers <asomers@FreeBSD.org>
CommitDate: 2025-09-27 14:29:52 +0000
fusefs: fix the last_local_modify LLM/LastLocalModify.lookup/3 test
The LastLocalModify tests were originally written to simulate a race
condition between VOP_SETATTR and VOP_LOOKUP. They were later extended
to cover some other VOPs that can affect file size, including VOP_WRITE.
However, the test never correctly simulated the race with VOP_WRITE. So
that test only ever passed by accident. Fix it by always opening the
file with O_DIRECT.
PR: 289237
Reported by: Siva Mahadevan <me@svmhdvn.name>
(cherry picked from commit d1eaa52d10f9b85e5f6358e1a280899b9d55dd07)
tests/sys/fs/fusefs/last_local_modify.cc | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.