[Bug 274615] sys/fs/tmpfs/times_test:empty test fails with: Incorrect atime [1.051s]
Date: Wed, 08 May 2024 13:08:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274615
--- Comment #10 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=e3b27cc3546fb39ec579d023b3520d15a1628021
commit e3b27cc3546fb39ec579d023b3520d15a1628021
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-04-04 15:18:03 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-05-08 13:06:16 +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
(cherry picked from commit 08f3d5b60cdfff434e391d96cdffc5a90c550b07)
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.