]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: precalculate inodes and blocks per inode cluster
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)
commit42d896cf45620568c11b0f6f44825de8e7815509
tree7f2bff54fef078a8c5264ee135209c4874053db1
parent7516da71dcb2efc0b37b3f865ef74961917cfee2
xfs: precalculate inodes and blocks per inode cluster

Source kernel commit: 83dcdb4469e759f984db92616d7885fc14329841

Store the number of inodes and blocks per inode cluster 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>
db/check.c
db/frag.c
db/metadump.c
include/xfs_mount.h
libxfs/init.c
libxfs/xfs_ialloc.c