Linux filesystem development
 help / color / mirror / Atom feed
From: viro@parcelfarce.linux.theplanet.co.uk
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Shaya Potter <spotter@cs.columbia.edu>, linux-fsdevel@vger.kernel.org
Subject: Re: [long] per-mountpoint readonly
Date: Thu, 29 May 2003 10:31:11 +0100	[thread overview]
Message-ID: <20030529093111.GO14138@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <shs4r3eazxy.fsf@charged.uio.no>

On Thu, May 29, 2003 at 11:02:01AM +0200, Trond Myklebust wrote:
> >>>>> " " == viro  <viro@parcelfarce.linux.theplanet.co.uk> writes:
> 
>      > All callers that have inode obtained by struct file * are
>      > trivial.  We have what we need there.  Now, a large group
>      > actually comes from the same kind of place - it's ->readdir()
>      > in the majority of filesystems.  We might be better off just
>      > taking that to caller of ->readdir() - provided that NFS folks
>      > are OK with that (nfs does _not_ update atime on client after
>      > readdir()).  In any case, we have struct file * there anyway.
> 
> Provided that you are not planning on overriding the S_NOATIME flag,
> NFS should be fine. We just want to suppress update_atime() for *all*
> cases since we have no control over how the server updates this value.

Umm...  Actually, I thought about per-mountpoint noatime, but we can
do (mnt->mnt_flags & MNT_NOATIME) | (s->s_flags & S_NOATIME) just fine,
so NFS can still disable it just fine.

Is there any network filesystem that would
	* want atime updated by client for *some* directory accesses and
	* want it left alone for readdir()?

If not, we can clean the things up nicely.  NFS is OK, what about the rest?

  reply	other threads:[~2003-05-29  9:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-29  0:55 changing permission()/vfs_permission... to work on dentry viro
2003-05-29  4:20 ` Shaya Potter
2003-05-29  4:38   ` Chris Wright
2003-05-29  8:27     ` viro
2003-05-29  8:21   ` [long] per-mountpoint readonly viro
2003-05-29  9:02     ` Trond Myklebust
2003-05-29  9:31       ` viro [this message]
2003-05-29  9:42     ` Christoph Hellwig
2003-05-29 16:24     ` Bryan Henderson
2003-05-29 19:22       ` viro
2003-05-29 21:30         ` Bryan Henderson

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=20030529093111.GO14138@parcelfarce.linux.theplanet.co.uk \
    --to=viro@parcelfarce.linux.theplanet.co.uk \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=spotter@cs.columbia.edu \
    --cc=trond.myklebust@fys.uio.no \
    /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