Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2022 21:26:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 261434] [fusefs] mtime and ctime changed on every read file
Message-ID:  <bug-261434-227-G8cgi0gCn0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-261434-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-261434-227@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=3D261434

--- Comment #6 from Ivan Rozhuk <rozhuk.im@gmail.com> ---
(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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261434-227-G8cgi0gCn0>