[Bug 289237] sys/fs/fusefs/last_local_modify:main testcase fails intermittently on arm64 in CI
Date: Mon, 15 Sep 2025 00:31:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289237
--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=d1eaa52d10f9b85e5f6358e1a280899b9d55dd07
commit d1eaa52d10f9b85e5f6358e1a280899b9d55dd07
Author: Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2025-09-15 00:22:36 +0000
Commit: Alan Somers <asomers@FreeBSD.org>
CommitDate: 2025-09-15 00:30:30 +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>
MFC after: 1 week
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.