diff options
author | Brian Foster <[email protected]> | 2015-06-04 13:03:34 +1000 |
---|---|---|
committer | Dave Chinner <[email protected]> | 2015-06-04 13:03:34 +1000 |
commit | 46fc58dacf6e9b00629c57998a8a23f85c262b3f (patch) | |
tree | ef2cf5db7380c932616a8d4f8c36135a8d95b97f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 3cdaa1898ff3b16f69619cb5df2f45158e104817 (diff) |
xfs: check min blks for random debug mode sparse allocations
The inode allocator enables random sparse inode chunk allocations in
DEBUG mode to facilitate testing. Sparse inode allocations are not
always possible, however, depending on the fs geometry. For example,
there is no possibility for a sparse inode allocation on filesystems
where the block size is large enough to fit one or more inode chunks
within a single block.
Fix up the DEBUG mode sparse inode allocation logic to trigger random
sparse allocations only when the geometry of the fs allows it.
Signed-off-by: Brian Foster <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions