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

>>>>> " " == 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.

Cheers,
  Trond

  reply	other threads:[~2003-05-29  8:48 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 [this message]
2003-05-29  9:31       ` viro
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=shs4r3eazxy.fsf@charged.uio.no \
    --to=trond.myklebust@fys.uio.no \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=spotter@cs.columbia.edu \
    --cc=viro@parcelfarce.linux.theplanet.co.uk \
    /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