]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: remove timestamps from incore inode
authorDave Chinner <dchinner@redhat.com>
Wed, 17 Feb 2016 06:50:13 +0000 (17:50 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 17 Feb 2016 06:50:13 +0000 (17:50 +1100)
commit1bc6cbe33aefb0c112697ffdd6ff632a01cdad3f
treefae89059c6b2bcf3c7ac3eae2be618a01e0bc0e9
parent138659f139b51ffadc72deb8af356fbfdf745abe
xfs: remove timestamps from incore inode

Source kernel commit 3987848c7c2be112e03c82d03821b044f1c0edec

The struct xfs_inode has two copies of the current timestamps in it,
one in the vfs inode and one in the struct xfs_icdinode. Now that we
no longer log the struct xfs_icdinode directly, we don't need to
keep the timestamps in this structure. instead we can copy them
straight out of the VFS inode when formatting the inode log item or
the on-disk inode.

This reduces the struct xfs_inode in size by 24 bytes.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
db/check.c
include/xfs_inode.h
libxfs/libxfs_api_defs.h
libxfs/util.c
libxfs/xfs_inode_buf.c
libxfs/xfs_inode_buf.h
libxfs/xfs_rtbitmap.c
mkfs/proto.c