xfs: precalculate cluster alignment in inodes and blocks
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 12 Dec 2018 16:46:25 +0000 (08:46 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 12 Dec 2018 16:47:17 +0000 (08:47 -0800)
commitc1b4a321ede083521b91c314e1c4fa233ac33740
tree7fbf9f0bd0191eda2c268ce3bc8aaa2131823d33
parent83dcdb4469e759f984db92616d7885fc14329841
xfs: precalculate cluster alignment in inodes and blocks

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>
fs/xfs/libxfs/xfs_ialloc.c
fs/xfs/libxfs/xfs_types.c
fs/xfs/scrub/ialloc.c
fs/xfs/xfs_mount.c
fs/xfs/xfs_mount.h