]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: randomly do sparse inode allocations in DEBUG mode
authorBrian Foster <bfoster@redhat.com>
Thu, 28 May 2015 23:19:29 +0000 (09:19 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 23 Jun 2015 05:08:03 +0000 (15:08 +1000)
commitd9df7a0b6214593358ea5dac25753b2357f85695
tree981a75ceae30f66d9ba6d6b832ff27bc0f4b83f6
parent2f577ca8cee9095aa36e643fe4c29dcc2894102f
xfs: randomly do sparse inode allocations in DEBUG mode

Sparse inode allocations generally only occur when full inode chunk
allocation fails. This requires some level of filesystem space usage and
fragmentation.

For filesystems formatted with sparse inode chunks enabled, do random
sparse inode chunk allocs when compiled in DEBUG mode to increase test
coverage.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
libxfs/xfs_ialloc.c