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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 15 Sep 2022 09:02:53 +1000 From: "NeilBrown" <neilb@...e.de> To: "Jeff Layton" <jlayton@...nel.org> Cc: "Dave Chinner" <david@...morbit.com>, "Trond Myklebust" <trondmy@...merspace.com>, "zohar@...ux.ibm.com" <zohar@...ux.ibm.com>, "djwong@...nel.org" <djwong@...nel.org>, "xiubli@...hat.com" <xiubli@...hat.com>, "brauner@...nel.org" <brauner@...nel.org>, "linux-xfs@...r.kernel.org" <linux-xfs@...r.kernel.org>, "linux-api@...r.kernel.org" <linux-api@...r.kernel.org>, "bfields@...ldses.org" <bfields@...ldses.org>, "fweimer@...hat.com" <fweimer@...hat.com>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "chuck.lever@...cle.com" <chuck.lever@...cle.com>, "linux-man@...r.kernel.org" <linux-man@...r.kernel.org>, "linux-nfs@...r.kernel.org" <linux-nfs@...r.kernel.org>, "tytso@....edu" <tytso@....edu>, "viro@...iv.linux.org.uk" <viro@...iv.linux.org.uk>, "jack@...e.cz" <jack@...e.cz>, "linux-ext4@...r.kernel.org" <linux-ext4@...r.kernel.org>, "linux-btrfs@...r.kernel.org" <linux-btrfs@...r.kernel.org>, "linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>, "adilger.kernel@...ger.ca" <adilger.kernel@...ger.ca>, "lczerner@...hat.com" <lczerner@...hat.com>, "ceph-devel@...r.kernel.org" <ceph-devel@...r.kernel.org> Subject: Re: [man-pages RFC PATCH v4] statx, inode: document the new STATX_INO_VERSION field On Thu, 15 Sep 2022, NeilBrown wrote: > > When the code was written, the inode semaphore (before mutexes) was held > over the whole thing, and timestamp resolution was 1 second. So > ordering didn't really matter. Since then locking has bee reduced and > precision increased but no-one saw any need to fix the ordering. I > think that is fine for timestamps. Actually it is much more complex than that, though the principle is still the same https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/commit/?id=636b38438001a00b25f23e38747a91cb8428af29 shows i_mtime updates being moved from *after* a call to generic_file_write() in each filesystem to *early* in the body of generic_file_write(). Probably because that was just a convenient place to put it. NeilBrown
Powered by blists - more mailing lists