]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: pack holes in xfs_defer_ops and xfs_trans
authorBrian Foster <bfoster@redhat.com>
Tue, 24 Jul 2018 20:43:11 +0000 (13:43 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Jul 2018 17:15:13 +0000 (10:15 -0700)
commitf4dc3ed344c37e2804bbe4fbd62474c4d2a7cd3e
treee1f5b5ab4d1742604d4840b126e3e40ee30db002
parentc82003f8ed561f5fe03664af2362b4bf273ac10e
xfs: pack holes in xfs_defer_ops and xfs_trans

Both structures have holes due to member alignment. Move dop_low to
the end of xfs_defer ops to sanitize the cache line alignment and
move t_flags to save 8 bytes in xfs_trans.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bill O'Donnell <billodo@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_defer.h
fs/xfs/xfs_trans.h