[Bug 261434] [fusefs] mtime and ctime changed on every read file

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 24 Jan 2022 22:48:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261434

--- Comment #9 from Alan Somers <asomers@FreeBSD.org> ---
(In reply to Ivan Rozhuk from comment #8)
What is utimens?  FreeBSD has no such thing.  Do you mean utimensat?  utimensat
is a syscall.  The kernel can't call it.  All the kernel does it send upcalls
like FUSE_SETATTR to the fuse server, which in this case is sshfs.  If anything
is calling utimensat, it's sftp-server, which is what sshfs invokes on the ssh
server.  The platform-specific value of UTIME_OMIT doesn't matter, because
sshfs is compiled separately on each platform and any way UTIME_OMIT should
never cross the wire over ssh.  Instead, the sftp protocol presumably has some
other way to convey that meaning.

> Linux community too big to report and fix this issue years ago.

What do you mean?  Are you suggesting that you're unable to report issues to a
large community, or that because it's a large community, surely this issue
must've been fixed on Linux so you aren't going to check?  I'm having trouble
following your English.

You really should try this on Linux with atime=on.  I think that by default
Linux sets atime=off, which is probably why you didn't notice the problem
there.

-- 
You are receiving this mail because:
You are the assignee for the bug.