diff options
author | 2012-07-04 10:54:50 -0400 | |
---|---|---|
committer | 2012-07-29 16:10:54 -0500 | |
commit | be60fe54b216a62403b816d3930a66ad7c51cbc6 (patch) | |
tree | 20ae0c5de24e347a42f49a33802de67ff6ee4442 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfs: refactor xfs_ialloc_ag_select (diff) | |
download | linux-dev-be60fe54b216a62403b816d3930a66ad7c51cbc6.tar.xz linux-dev-be60fe54b216a62403b816d3930a66ad7c51cbc6.zip |
xfs: do not read the AGI buffer in xfs_dialloc until nessecary
Refactor the AG selection loop in xfs_dialloc to operate on the in-memory
perag data as much as possible. We only read the AGI buffer once we have
selected an AG to allocate inodes now instead of for every AG considered.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions