]> asedeno.scripts.mit.edu Git - linux.git/commit
xfs: never try to scrub more than 64 inodes per inobt record
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 1 Feb 2019 17:08:49 +0000 (09:08 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 12 Feb 2019 00:06:38 +0000 (16:06 -0800)
commit435dcf0787fde20d99ede873cf56dc27c22f2c30
tree8a5338c3f85b836fcacd9f0b7b6cf59d0c91a3ec
parentd13937116f1e82bf508a6325111b322c30c85eb9
xfs: never try to scrub more than 64 inodes per inobt record

Make sure we never check more than XFS_INODES_PER_CHUNK inodes for any
given inobt record since there can be more than one inobt record mapped
to an inode cluster.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/scrub/ialloc.c