lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 18 Nov 2016 19:08:43 +0000
From:   David Howells <dhowells@...hat.com>
To:     Jeff Layton <jlayton@...hat.com>
Cc:     dhowells@...hat.com, Dave Chinner <david@...morbit.com>,
        linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available

Jeff Layton <jlayton@...hat.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ