Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1397741
| Path | csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Christoph Hellwig <hch@infradead.org> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available |
| Date | Tue, 10 May 2016 09:10:01 +0200 |
| Message-ID | <rx9XP-5Zf-3@gated-at.bofh.it> (permalink) |
| References | <rtgbv-69i-7@gated-at.bofh.it> <rtgby-69i-51@gated-at.bofh.it> <rwspP-3md-7@gated-at.bofh.it> <rwSaB-5og-1@gated-at.bofh.it> |
| X-Original-To | Jeff Layton <jlayton@poochiereds.net> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.24 (2015-08-30) |
| X-Srs-Rewrite | SMTP reverse-path rewritten from <hch@infradead.org> by bombadil.infradead.org. See http://www.infradead.org/rpr.html |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 27 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Christoph Hellwig <hch@infradead.org>, David Howells <dhowells@redhat.com>, linux-fsdevel@vger.kernel.org, linux-afs@vger.kernel.org, linux-nfs@vger.kernel.org, samba-technical@lists.samba.org, linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org |
| X-Original-Date | Tue, 10 May 2016 00:00:44 -0700 |
| X-Original-Message-ID | <20160510070044.GA30896@infradead.org> |
| X-Original-References | <20160429125736.23636.47874.stgit@warthog.procyon.org.uk> <20160429125743.23636.85219.stgit@warthog.procyon.org.uk> <20160508083543.GA14316@infradead.org> <1462795378.4481.31.camel@poochiereds.net> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1397741 |
Show key headers only | View raw
On Mon, May 09, 2016 at 08:02:58AM -0400, Jeff Layton wrote: > > > AT_FORCE_ATTR_SYNC can be set in flags.????This will require a network > > > filesystem to synchronise its attributes with the server. > > > > > > AT_NO_ATTR_SYNC can be set in flags.????This will suppress synchronisation > > > with the server in a network filesystem.????The resulting values should be > > > considered approximate. > > > > And what happens if neither is set? > > > > I'd suggest we have the documentation state that the lack of either > flag leaves it up to the filesystem. In the case of NFS, you'd get > "normal" attribute cache behavior, for instance which is governed by > the ac* attributes. > > We should also note that in the case of something like AT_NO_ATTR_SYNC > on NFS, you might _still_ end up talking to the server if the client > has nothing in-core for that inode. File systems specific "legacy" defaults are a bad idea. If we can't describe the semantics we should not allow them, never mind making the the default. I'd strongly suggest picking one of the above flags as the default behavior and only allowing the other as optional flag. I suspect NO_SYNC is the better one for the flag, as otherwise people will be surprised once they test their default case on a network filesystem.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC][PATCH 0/6] Enhanced file stat system call David Howells <dhowells@redhat.com> - 2016-04-29 15:00 +0200
[PATCH 4/6] statx: NFS: Return enhanced file attributes David Howells <dhowells@redhat.com> - 2016-04-29 15:00 +0200
Re: [PATCH 4/6] statx: NFS: Return enhanced file attributes Andreas Dilger <adilger@dilger.ca> - 2016-05-03 00:50 +0200
[PATCH 6/6] statx: CIFS: Return enhanced attributes David Howells <dhowells@redhat.com> - 2016-04-29 15:00 +0200
[PATCH 3/6] statx: Ext4: Return enhanced file attributes David Howells <dhowells@redhat.com> - 2016-04-29 15:00 +0200
Re: [PATCH 3/6] statx: Ext4: Return enhanced file attributes Andreas Dilger <adilger@dilger.ca> - 2016-05-03 00:50 +0200
Re: [PATCH 3/6] statx: Ext4: Return enhanced file attributes David Howells <dhowells@redhat.com> - 2016-05-03 22:30 +0200
Re: [PATCH 3/6] statx: Ext4: Return enhanced file attributes Christoph Hellwig <hch@infradead.org> - 2016-05-08 10:40 +0200
[PATCH 5/6] statx: Make windows attributes available for CIFS, NTFS and FAT to use David Howells <dhowells@redhat.com> - 2016-04-29 15:10 +0200
Re: [PATCH 5/6] statx: Make windows attributes available for CIFS, NTFS and FAT to use Andreas Dilger <adilger@dilger.ca> - 2016-05-03 01:00 +0200
Re: [PATCH 5/6] statx: Make windows attributes available for CIFS, NTFS and FAT to use David Howells <dhowells@redhat.com> - 2016-05-03 22:30 +0200
Re: [PATCH 5/6] statx: Make windows attributes available for CIFS, NTFS and FAT to use Christoph Hellwig <hch@infradead.org> - 2016-05-08 10:40 +0200
[PATCH 2/6] statx: AFS: Return enhanced file attributes David Howells <dhowells@redhat.com> - 2016-04-29 15:20 +0200
Re: [RFC][PATCH 0/6] Enhanced file stat system call Jeff Layton <jlayton@poochiereds.net> - 2016-04-30 23:10 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available David Howells <dhowells@redhat.com> - 2016-05-03 18:00 +0200
Re: [RFC][PATCH 0/6] Enhanced file stat system call Arnd Bergmann <arnd@arndb.de> - 2016-05-04 15:50 +0200
Re: [RFC][PATCH 0/6] Enhanced file stat system call Steve French <smfrench@gmail.com> - 2016-05-06 04:10 +0200
Re: [RFC][PATCH 0/6] Enhanced file stat system call Arnd Bergmann <arnd@arndb.de> - 2016-05-09 15:10 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available Dave Chinner <david@fromorbit.com> - 2016-05-05 01:00 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available NeilBrown <nfbrown@novell.com> - 2016-05-05 02:20 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available Jeff Layton <jlayton@poochiereds.net> - 2016-05-05 21:50 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available David Howells <dhowells@redhat.com> - 2016-05-05 22:10 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available Dave Chinner <david@fromorbit.com> - 2016-05-06 03:50 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available bfields@fieldses.org (J. Bruce Fields) - 2016-05-06 20:10 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available bfields@fieldses.org (J. Bruce Fields) - 2016-05-06 20:30 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available Dave Chinner <david@fromorbit.com> - 2016-05-09 03:50 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available "J. Bruce Fields" <bfields@fieldses.org> - 2016-05-09 04:50 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available NeilBrown <nfbrown@novell.com> - 2016-05-05 02:00 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available Christoph Hellwig <hch@infradead.org> - 2016-05-08 10:40 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available Jeff Layton <jlayton@poochiereds.net> - 2016-05-09 14:10 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available Christoph Hellwig <hch@infradead.org> - 2016-05-10 09:10 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available Jeff Layton <jlayton@poochiereds.net> - 2016-05-10 15:30 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available David Howells <dhowells@redhat.com> - 2016-05-09 15:00 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available David Howells <dhowells@redhat.com> - 2016-05-09 15:10 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available Trond Myklebust <trondmy@primarydata.com> - 2016-05-09 15:40 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available Christoph Hellwig <hch@infradead.org> - 2016-05-10 09:10 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available David Howells <dhowells@redhat.com> - 2016-05-10 10:30 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available Christoph Hellwig <hch@infradead.org> - 2016-05-12 11:20 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available David Howells <dhowells@redhat.com> - 2016-05-09 15:40 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available Christoph Hellwig <hch@infradead.org> - 2016-05-10 09:10 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available David Howells <dhowells@redhat.com> - 2016-05-10 10:50 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available Christoph Hellwig <hch@infradead.org> - 2016-05-12 11:20 +0200
Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available David Howells <dhowells@redhat.com> - 2016-05-09 15:50 +0200
csiph-web