From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Steve French <smfrench@austin.rr.com>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: IS_NOCMTIME and setting of ctime and mtime on remote servers
Date: Mon, 29 Aug 2005 11:41:52 -0700 [thread overview]
Message-ID: <1125340912.8105.10.camel@lade.trondhjem.org> (raw)
In-Reply-To: <431342FC.20708@austin.rr.com>
må den 29.08.2005 Klokka 12:16 (-0500) skreiv Steve French:
> 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?)?
NOCMTIME just turns off the inode_update_time() crapola. It has nothing
to do with explicit sets of the time which are done through the utimes()
syscall.
IOW: it turns off all those unwanted VFS updates of mtime/ctime which
would otherwise screw up data and metadata cache revalidation.
Cheers,
Trond
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2005-08-29 18:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
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=1125340912.8105.10.camel@lade.trondhjem.org \
--to=trond.myklebust@fys.uio.no \
--cc=linux-fsdevel@vger.kernel.org \
--cc=smfrench@austin.rr.com \
/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).