Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 May 2024 13:08:30 +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-7HzItpWcNJ@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 #10 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3De3b27cc3546fb39ec579d023b3520d15a=
1628021

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

--=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-7HzItpWcNJ>