diff options
author | Brian Foster <bfoster@redhat.com> | 2015-05-29 09:20:10 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-05-29 09:20:10 +1000 |
commit | 26dd5217dee0ecfb95f8015ed8e9deebf8257608 (patch) | |
tree | 4fb075d2c0f6486bacfc253476bdec8eceb6430b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 1cdadee11f8d44b16f8110cf01498bd7c38474d8 (diff) |
xfs: filter out sparse regions from individual inode allocation
Inode allocation from an existing record with free inodes traditionally
selects the first inode available according to the ir_free mask. With
sparse inode chunks, the ir_free mask could refer to an unallocated
region. We must mask the unallocated regions out of ir_free before using
it to select a free inode in the chunk.
Update the xfs_inobt_first_free_inode() helper to find the first free
inode available of the allocated regions of the inode chunk.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions