linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* IS_NOCMTIME and setting of ctime and mtime on remote servers
@ 2005-08-29 17:16 Steve French
  2005-08-29 18:08 ` Miklos Szeredi
  2005-08-29 18:41 ` Trond Myklebust
  0 siblings, 2 replies; 3+ messages in thread
From: Steve French @ 2005-08-29 17:16 UTC (permalink / raw)
  To: linux-fsdevel

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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-29 18:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-29 17:16 IS_NOCMTIME and setting of ctime and mtime on remote servers Steve French
2005-08-29 18:08 ` Miklos Szeredi
2005-08-29 18:41 ` Trond Myklebust

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).