[Bug 289237] sys/fs/fusefs/last_local_modify:main testcase fails intermittently on arm64 in CI
Date: Thu, 25 Sep 2025 22:39:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289237
--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch stable/15 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=3289d383171825622c907df79a0824c8c2175d1c
commit 3289d383171825622c907df79a0824c8c2175d1c
Author: Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2025-09-15 00:22:36 +0000
Commit: Alan Somers <asomers@FreeBSD.org>
CommitDate: 2025-09-25 22:35:46 +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.