From nobody Mon Jan 24 22:30:00 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 1E19C1983F66 for ; Mon, 24 Jan 2022 22:30:01 +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 4JjPn44w5Dz3qTg for ; Mon, 24 Jan 2022 22:30:00 +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 89EC71E388 for ; Mon, 24 Jan 2022 22:30:00 +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 20OMU0Jg047882 for ; Mon, 24 Jan 2022 22:30:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20OMU03N047880 for bugs@FreeBSD.org; Mon, 24 Jan 2022 22:30:00 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 22:30:00 +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=1643063400; 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=djEy2OALz7czWe2hSTbpVKpGb3BbU+bUNNySxfroW8U=; b=ks8NiGKs/ajRb6ogM1omDkyjyKlNd+PZzq8THGS56t1zMcZnMz4VkAhpQR0CkVK8GoxQ3Z jYdPsNai/980TogbpyOPj62x08RaMsttolUx6grcWnVbP7V15BB8qBUhH/jfahqQlzEBEO SqeFXJP5Xv8mW0Pbgdb0facPhj0AaCsvTpzoMD7rEn3QdJ9BLSZmmqQsv5Xj+jEtjSYPr8 uAlJorPvE+BEWYHqR/57u6o9H/yKExbngw4d6cUIUAxc6o++sNUyek08ttKJNcXs3y+Afy NBVDpx2IdutpgMT8CuBQ2BMlHjDTc1hS42KyISGsDSteXOjPQBe76FWJjwTQ+Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643063400; a=rsa-sha256; cv=none; b=PjT0Wtv0fR8chV2QuoUuM+elW/uHKINkMX8LTNvauJkKInMiDjvRAHRIrNKM4QAlpHuqn+ /x4yDTigi224dMivHKulXZScmQTe4QG3kQ9hkmc9JZExl8LcC6Ax2Y9nK0iLZP77eOUDfQ p8eVmVIhyGU2Jkx3pgNbvOhW3M0sQIByKnSoJ4OZOE2GXI2lR4IG2E5KWw1kfwV7zuvqcm N1sUm+/byDrrY0stcs9gYhGofPhvpjhKH6RIFtPlk3cKD7DtENQ8dKPrWFUE8nUm8leYLr BYBHHi1G0A7R79o78Ixbjryj4dsMYx1+u4Gr3D5CfPUacTyc03liFR/6vIJbfA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261434 --- Comment #8 from Ivan Rozhuk --- (In reply to Alan Somers from comment #7) > The FUSE_SETATTR command allows the kernel to set any combination of time= stamps It may allow whatever, but it call utimens() with limited interface. Even more, this utimens() can not accept UTIME_OMIT because it have differe= nt values on linux and bsd. UTIME_NOW can be handled by sshfs locally. My point is: kernel must call utimens() with correct atime+mtime values. > So it's probably an sshfs bug that it always sets mtime whenever the kern= el sets atime. utimens() send SSH_FXP_SETSTAT/SSH_FXP_FSETSTAT that requires both: atime + mtime. > Have you tried reproducing on Linux? No. I load my linux first time since November 2020 just to make sure that t= his is not fresh openssh issue. Linux community too big to report and fix this issue years ago. > It will probably happen if you mount with atime=3Don I always use sshfs with atime=3Don, this is default. --=20 You are receiving this mail because: You are the assignee for the bug.=