]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: precalculate cluster alignment in inodes and blocks
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 27 Feb 2019 23:13:45 +0000 (17:13 -0600)
committerEric Sandeen <sandeen@redhat.com>
Wed, 27 Feb 2019 23:13:45 +0000 (17:13 -0600)
commitbafa1332567405303fab19ecb6f064d47d7d383d
tree563d6113fef5741fe99d94ff75b3fbe92fc72e61
parent42d896cf45620568c11b0f6f44825de8e7815509
xfs: precalculate cluster alignment in inodes and blocks

Source kernel commit: c1b4a321ede083521b91c314e1c4fa233ac33740

Store the inode cluster alignment information in units of inodes and
blocks in the mount data so that we don't have to keep recalculating
them.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
include/xfs_mount.h
libxfs/init.c
libxfs/xfs_ialloc.c
libxfs/xfs_types.c