]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: compact deferred intent item structures
authorDarrick J. Wong <djwong@kernel.org>
Tue, 12 Oct 2021 22:29:33 +0000 (15:29 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 22 Oct 2021 23:04:36 +0000 (16:04 -0700)
commitd13b8bfcb6d724ad5d542c6c63f97487dc7b4e74
tree4044ff254921d866af853268cdaf3be12e6765d5
parent1eba0b9103bff59ca4f45f1184baa03e219b5171
xfs: compact deferred intent item structures

Rearrange these structs to reduce the amount of unused padding bytes.
This saves eight bytes for each of the three structs changed here, which
means they're now all (rmap/bmap are 64 bytes, refc is 32 bytes) even
powers of two.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Chandan Babu R <chandan.babu@oracle.com>
fs/xfs/libxfs/xfs_bmap.h
fs/xfs/libxfs/xfs_refcount.h
fs/xfs/libxfs/xfs_rmap.h