From: Steve French <smfrench@austin.rr.com>
To: linux-fsdevel@vger.kernel.org
Subject: IS_NOCMTIME and setting of ctime and mtime on remote servers
Date: Mon, 29 Aug 2005 12:16:44 -0500 [thread overview]
Message-ID: <431342FC.20708@austin.rr.com> (raw)
NFS is the only place that sets NOCMTIME on inodes in its fhget routine
IIRC.
What is the exact intent of this? Does it stay set (so mtime and ctime
updates are never sent to the server) or does it get reset somewhere (I
did not see where nfs turned it off so presumably even explicit sets of
the time are ignored by default?)?
I realize that some users would prefer that an fs never set the file
times to the remote server (at least for the cifs and nfs cases I have
heard this in past years) as the server will set them implicitly anyway
(and it can help performance). For cached files the local times in the
client's version of the inode could be used indefinately (at least while
the file is cacheable on the client, continuing to hold the caching
token/oplock).
I saw a thread on bsd mailing list from a few years ago in which some
users were asking for a mount flag (nocmtime) to turn off ctime and
mtime updates for much the same reason.
next reply other threads:[~2005-08-29 17:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-29 17:16 Steve French [this message]
2005-08-29 18:08 ` IS_NOCMTIME and setting of ctime and mtime on remote servers Miklos Szeredi
2005-08-29 18:41 ` Trond Myklebust
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=431342FC.20708@austin.rr.com \
--to=smfrench@austin.rr.com \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).