From nobody Tue Jan 25 01:34:06 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3F57F196D1D3 for ; Tue, 25 Jan 2022 01:34:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JjTsV0fQKz4Wns for ; Tue, 25 Jan 2022 01:34:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EA9C920C6E for ; Tue, 25 Jan 2022 01:34:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20P1Y5mh052418 for ; Tue, 25 Jan 2022 01:34:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20P1Y5aF052417 for bugs@FreeBSD.org; Tue, 25 Jan 2022 01:34:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 261434] [fusefs] mtime and ctime changed on every read file Date: Tue, 25 Jan 2022 01:34:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643074446; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZhqL+7KbhIBAAChNCA6edO7uHxIeq6OG7pXmUYwHOaw=; b=Q3EMjk7rZEFUP2+1NmVSB5qIxziHL7JNwvx+Y+V1FXccFjvu8sOPxWfV+2CK4YXe3GeDx7 n7YPeR8an6RIhoE+vXonnmYL7wFbDT++uZ7Z6tX2ELUC9esWwAjr4DAb0EIwgAJpDj3r1b pnEtApYbdPn6UV68M/3tb+sCGdjrQtEWY6UcSuvfwhgW3tY6rzx8Q91X/UN2o70gc/R1hZ P56cR/lTWvz8rMKjJm0R99DcyOeHtL17gct+aKNEkFhcbortqE748ut8/ucBV5O4LQEKsn a9FEqZoQ3y84fp6fWxXFRowUpiwfSIUEufuNq8SoYkrSvi3Kzs2XU2tIE4OJBQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643074446; a=rsa-sha256; cv=none; b=jOPilxPle4PjETRKF/EDJYLGW8FbR56a1q678s/cqhQgFxIpootfneBHJE/iJi2sb2EQuu SqFTF4mcEd3GU4eApIMyA4U/flXbUQ1sbw9QtNQg7oXqbn1l3d/nkzt4R9Z0YOORvJIZeG d5dIL05T+MrYL0f/fb6c15N45ahleSczbjMf68xAw+kV0zJ+lE6tEvpMA+HbjQyGEvb+Hf O2IFmB1xMpBT0bJ8TsnM6dNssHmMAyr6WdTIK+tLRQP5I85giiepeiREcloWFZzfIWTwnY Cu51bRjPA5+4jsviSIgrA0Pba3h4h4XTbTw8XDtO9IS/uTxOtiDvTLgJGA4V1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261434 --- Comment #11 from Alan Somers --- (In reply to Ivan Rozhuk from comment #10) Always sending mtime along with atime would be exactly the wrong thing for = the kernel to do. Only sending atime is what it's supposed to do. Looking at the code you sent, sshfs_utimens is ignoring the tv_nsec field, which is clearly a bug. If those fields are set to UTIME_OMIT then it shouldn't set that timestamp. This is a bug in sshfs, and you should repor= t it upstream. Did your friend use "-o strictatime"? It looks like that mount option is required on Linux in order for it to actually update the atime. --=20 You are receiving this mail because: You are the assignee for the bug.=