From: Trond Myklebust Subject: Re: [long] per-mountpoint readonly Date: 29 May 2003 11:02:01 +0200 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: References: <20030529005549.GJ14138@parcelfarce.linux.theplanet.co.uk> <1054182023.10017.53.camel@zaphod> <20030529082127.GL14138@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Shaya Potter , linux-fsdevel@vger.kernel.org Return-path: Received: from pat.uio.no ([129.240.130.16]:59541 "EHLO pat.uio.no") by vger.kernel.org with ESMTP id S262017AbTE2Isv (ORCPT ); Thu, 29 May 2003 04:48:51 -0400 To: viro@parcelfarce.linux.theplanet.co.uk In-Reply-To: <20030529082127.GL14138@parcelfarce.linux.theplanet.co.uk> List-Id: linux-fsdevel.vger.kernel.org >>>>> " " == viro 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