From nobody Mon Jan 24 21:26:12 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 73A321982A30 for ; Mon, 24 Jan 2022 21:26:13 +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 4JjNMS6Zvmz4qlN for ; Mon, 24 Jan 2022 21:26:12 +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 A1DBD1D4A7 for ; Mon, 24 Jan 2022 21:26:12 +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 20OLQC4F012670 for ; Mon, 24 Jan 2022 21:26:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20OLQCHG012669 for bugs@FreeBSD.org; Mon, 24 Jan 2022 21:26:12 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:26:12 +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: rozhuk.im@gmail.com 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=1643059573; 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=oLegVJDbERnTY0hyUi/krE4N+DtHe7zJr8zejxEi4tE=; b=VgGN5OVex/cW6t1Mt1PLvc2hP9OVGU4m8lHoRGzmC0xrfOlLTj834KZeWzsyQaXngW3qzr WeIB2eYEhSlHyxs735Auyx7tDF28pCVYTVWSuzr1OpS6WNx81zGMspOAGoqZsXml/trNTf FmPzYPjri73lhqTFw7CADFgXjYDwAPLD2vrniH3eN4MmpyuENtBLBivdvsiBe3iRWNjrNN rP4iwokSp5uunJguKzHy9TMGEvonpGLJbH144Z6JWGvP6gIaWmQokaffE7bAjsGVdXcmAU +ayMIFmTTVntSZu7EwtpeE202mdSDVRcW8DRTQyYG2hT/Jj0sAdCIl8hvnuUOQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643059573; a=rsa-sha256; cv=none; b=j6f94MqeMRJRY3G/q516LeJvc2Vm+oZ8jcWQMWJnuZkKuEgytUkxMYNuHwJTaj0Tqw9l6i KhKxjywBsJM/lUexaF9UgZXbJV8GuF2AHKPa7SD6/k03oFXjjRNeheSrfe7PRk0HfSQ3mn P6usJNiIAdcQOpEtA6f8gQbJfG3GrVGtBa1CaqrRpOvGleOBa1otSm9vwzjWzzgouCYqc6 jdgbjn98jgxZavb/mM8wSRnlxDuu/PPWfTt0/QcAsroDeu30SnMiwptHBJ3ihpe7DMc9gJ ejTN4o7Q1xoxDN8CKntOxJuIxYjRnXH81PWNsXYYunTAVhVmgPFq1hPfwmUNjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261434 --- Comment #6 from Ivan Rozhuk --- (In reply to Alan Somers from comment #5) > The kernel only tries to change the file's mtime. _M_time? > I think this must be a bug in sshfs. Have you tried reporting it upstrea= m? No, I do not try to do this. I suppose that if linux do same than it already fixed, because bug is very annoying. https://github.com/libfuse/sshfs/blob/a2054a2b737577b63e97ea34d8c9976048766= 719/sshfs.c#L2663 This function transfer atime and mtime to remote side. If time not set - sshfs uses current time: https://github.com/libfuse/sshfs/blob/a2054a2b737577b63e97ea34d8c9976048766= 719/sshfs.c#L2676 Code added by this commit: https://github.com/libfuse/sshfs/commit/f0452119e0e5365bd140e8dd47ff268d274= f55de Does kernel/fusefs set both times proper? --=20 You are receiving this mail because: You are the assignee for the bug.=