Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Apr 2024 21:17:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        testing@FreeBSD.org
Subject:   [Bug 274615] sys/fs/tmpfs/times_test:empty test fails with: Incorrect atime  [1.051s]
Message-ID:  <bug-274615-32464-MIsAbCGoVg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274615-32464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-274615-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274615

--- Comment #7 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D08f3d5b60cdfff434e391d96cdffc5a90=
c550b07

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(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274615-32464-MIsAbCGoVg>