From nobody Mon Jan 24 21:47:11 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 1D182198E379 for ; Mon, 24 Jan 2022 21:47:12 +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 4JjNqg64Bxz3Ghw for ; Mon, 24 Jan 2022 21:47:11 +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 ACD601D6D9 for ; Mon, 24 Jan 2022 21:47:11 +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 20OLlBVw024055 for ; Mon, 24 Jan 2022 21:47:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20OLlBYo024054 for bugs@FreeBSD.org; Mon, 24 Jan 2022 21:47:11 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: Mon, 24 Jan 2022 21:47:11 +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=1643060831; 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=+YdZmgL+67/aV/vSfjtb2Jga83t2ZsDRNteAkzZ3g/Y=; b=Kw7YwUWPD6sm4mzgADJf9wHDM8cIx9NlJOk7SyA2fPOqjosJsnvdHRjJWJIDxK1bjmxT/A JGaqmCZoD3e4Pn1jmaqzwSFTOhExw1rn9pIrrD+GhGNRpa73Cc8FFPOuWfxTTrSFatruE/ tGGOR716g+xkwUfFMaYjHJhtkY2PdFjAv1xU4wvm4Tq9bz0+D3wcNwKsfbL2AimXgDNyjp rzZFfwdHG00wKBJZGmuYdWD8rW64KqtsxFuHZjzEYjsOTxMvY6NhgHWA3ati1BP0Jz2GVr yejtl4HAmn0aLRvkzSwDRhml8PMXKO6DBvanTZyGAQxD8l+EKy90KED0rSX/UA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643060831; a=rsa-sha256; cv=none; b=RZULKAba3u2twlSdBlHfEU79hOzrA4yqXOFuF4aLLEmU5omVKpqKb7O2LyzhXh7vVUXIq9 Q3BtaIjk8MpHS1wHzVR5lE3uUwNsJcafjV0i6pRsekFT2n799AWfZ4zZHOV1X+tY1EjxfZ gBOklAYpT5J379efBAX23XdDjQ2fGi2l52DUUQutKbzOBeTG/C2GX/1B9kVGjraCT4/G+0 FxpTl05Q9YKL3nAtiMQQ7+JcywcUOUcpPEwFkolAcAj51cNdwkAl+JRrqDL4n7nB2GDe/r kypzj8hodsle85VLopKeDZbCLmfsfJQ8fOOVGILcxqGGX6CHo4ayobd6Hc4l1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261434 --- Comment #7 from Alan Somers --- I meant, "the kernel only tries to change the file's atime". Sorry for the typo. The FUSE_SETATTR command allows the kernel to set any combination of timestamps, or none. For example, here is the debug output of a different = FUSE file system where the kernel only sets atime. 2022-01-24T21:01:26.008906Z DEBUG fuse3::raw::session: setattr unique 166 inode 3 set_attr SetAttr { mode: None, uid: None, gid: None, size: None, lock_owner: None, atime: Some(Timestamp { sec: 1643058086, nsec: 8228000 }), mtime: None, ctime: None } So it's probably an sshfs bug that it always sets mtime whenever the kernel sets atime. Have you tried reproducing on Linux? It will probably happen = if you mount with atime=3Don . --=20 You are receiving this mail because: You are the assignee for the bug.=