[Bug 274615] sys/fs/tmpfs/times_test:empty test fails with: Incorrect atime [1.051s]
Date: Thu, 04 Apr 2024 21:17:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274615
--- Comment #7 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=08f3d5b60cdfff434e391d96cdffc5a90c550b07
commit 08f3d5b60cdfff434e391d96cdffc5a90c550b07
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-04-04 15:18:03 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-04-04 21:03:07 +0000
copy_file_range: Call vn_rdwr() at least once
This ensures that we invoke VOP_READ on the input file even if it's
empty, which in turn helps ensure that filesystems update the atime of
the file.
PR: 274615
Reviewed by: olce, rmacklem, kib
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D43524
sys/kern/vfs_vnops.c | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.