From: Bob Peterson Date: Mon, 25 Sep 2017 10:51:23 -0400 (EDT) Subject: [Cluster-devel] [PATCH] gfs2: Support negative atimes In-Reply-To: <20170922105742.31978-1-agruenba@redhat.com> References: <20170922105742.31978-1-agruenba@redhat.com> Message-ID: <1193746305.14178439.1506351083779.JavaMail.zimbra@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ----- Original Message ----- | When inodes are read from disk, GFS2 will only update in-memory atimes | older than the on-disk atimes; this prevents atimes from going | backwards. The atimes of newly allocated inodes are initialized to 0. | This means that when an atime is explicitly set to a negative value, | this value will not persist. | | Fix by setting the atime of newly allocated inodes to the lowest | possible value instead of 0. | | Fixes xfstest generic/258. | | Signed-off-by: Andreas Gruenbacher | --- | fs/gfs2/inode.c | 3 ++- | 1 file changed, 2 insertions(+), 1 deletion(-) Hi, Thanks. This is now pushed to the for-next branch of the linux-gfs2 tree: https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git/commit/?h=for-next&id=37f94616c0d01dc2c1d10e3b51559092882fbc4f Regards, Bob Peterson Red Hat File Systems