Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1525655
| From | David Howells <dhowells@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available |
| Date | 2016-11-18 20:10 +0100 |
| Message-ID | <sEWHU-2Mk-7@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <sEvol-1nz-5@gated-at.bofh.it> <sEvol-1nz-3@gated-at.bofh.it> <sENOi-5fG-25@gated-at.bofh.it> <sEVLQ-29c-29@gated-at.bofh.it> <sEWyf-2tW-53@gated-at.bofh.it> |
| Organization | Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 |
Jeff Layton <jlayton@redhat.com> wrote:
> Does AFS allow you to infer something from the actual value?
Yes. Given:
(1) Each write on a file is atomic with respect to all other writes to that
same file.
(2) The data version is incremented by exactly one for each write committed,
and that value is returned in the reply to the write RPC call.
If you think you have a file with version 99, you do a call and get back
version 100, you *know* that there was no conflicting write before your write.
If the version came back as 101, however, you *know* that there was a write
you didn't know about. Therefore, you have to flush your cache.
David
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC][PATCH 0/4] Enhanced file stat system call David Howells <dhowells@redhat.com> - 2016-11-17 15:00 +0100
Re: [RFC][PATCH 0/4] Enhanced file stat system call David Howells <dhowells@redhat.com> - 2016-11-17 18:10 +0100
Re: [RFC][PATCH 0/4] Enhanced file stat system call David Howells <dhowells@redhat.com> - 2016-11-17 18:10 +0100
Re: [RFC][PATCH 0/4] Enhanced file stat system call bfields@fieldses.org (J. Bruce Fields) - 2016-11-17 21:10 +0100
Re: [RFC][PATCH 0/4] Enhanced file stat system call Andreas Dilger <adilger@dilger.ca> - 2016-11-18 03:50 +0100
Re: [RFC][PATCH 0/4] Enhanced file stat system call NeilBrown <neilb@suse.com> - 2016-11-18 05:40 +0100
Re: [RFC][PATCH 0/4] Enhanced file stat system call One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2016-11-18 14:50 +0100
Re: [RFC][PATCH 0/4] Enhanced file stat system call David Howells <dhowells@redhat.com> - 2016-11-18 14:50 +0100
Re: [RFC][PATCH 0/4] Enhanced file stat system call Michael Kerrisk <mtk.manpages@gmail.com> - 2016-11-17 18:20 +0100
[PATCH 3/4] statx: NFS: Return enhanced file attributes David Howells <dhowells@redhat.com> - 2016-11-17 18:20 +0100
[PATCH 2/4] statx: Ext4: Return enhanced file attributes David Howells <dhowells@redhat.com> - 2016-11-17 18:20 +0100
Re: [PATCH 2/4] statx: Ext4: Return enhanced file attributes Andreas Dilger <adilger@dilger.ca> - 2016-11-18 04:40 +0100
[PATCH 4/4] statx: AFS: Return enhanced file attributes David Howells <dhowells@redhat.com> - 2016-11-17 18:20 +0100
Re: [PATCH 4/4] statx: AFS: Return enhanced file attributes Andreas Dilger <adilger@dilger.ca> - 2016-11-18 09:30 +0100
Re: [PATCH 4/4] statx: AFS: Return enhanced file attributes David Howells <dhowells@redhat.com> - 2016-11-18 09:50 +0100
Re: [RFC][PATCH 0/4] Enhanced file stat system call One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2016-11-17 19:00 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available Dave Chinner <david@fromorbit.com> - 2016-11-18 00:50 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available Andreas Dilger <adilger@dilger.ca> - 2016-11-18 04:30 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available David Howells <dhowells@redhat.com> - 2016-11-18 11:00 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available Dave Chinner <david@fromorbit.com> - 2016-11-18 23:10 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available David Howells <dhowells@redhat.com> - 2016-11-19 00:00 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available Dave Chinner <david@fromorbit.com> - 2016-11-19 23:50 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available David Howells <dhowells@redhat.com> - 2016-11-22 11:40 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available Jeff Layton <jlayton@redhat.com> - 2016-11-22 15:00 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available Dave Chinner <david@fromorbit.com> - 2016-11-22 22:00 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2016-11-21 15:40 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available Dave Chinner <david@fromorbit.com> - 2016-11-21 21:50 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available David Howells <dhowells@redhat.com> - 2016-11-18 10:40 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available Jeff Layton <jlayton@poochiereds.net> - 2016-11-18 18:20 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available David Howells <dhowells@redhat.com> - 2016-11-18 19:10 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available Jeff Layton <jlayton@redhat.com> - 2016-11-18 20:00 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available David Howells <dhowells@redhat.com> - 2016-11-18 20:10 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available David Howells <dhowells@redhat.com> - 2016-11-18 10:50 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available Dave Chinner <david@fromorbit.com> - 2016-11-18 22:50 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available David Howells <dhowells@redhat.com> - 2016-11-18 23:30 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available David Howells <dhowells@redhat.com> - 2016-11-18 11:30 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available Dave Chinner <david@fromorbit.com> - 2016-11-18 22:30 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available David Howells <dhowells@redhat.com> - 2016-11-18 22:50 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available Dave Chinner <david@fromorbit.com> - 2016-11-18 23:20 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> - 2016-11-19 11:30 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available David Howells <dhowells@redhat.com> - 2016-11-18 09:50 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available Jeff Layton <jlayton@redhat.com> - 2016-11-18 13:10 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available David Howells <dhowells@redhat.com> - 2016-11-18 10:00 +0100
Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available Andreas Dilger <adilger@dilger.ca> - 2016-11-18 10:30 +0100
csiph-web