diff options
author | Josef Bacik <[email protected]> | 2018-09-28 07:18:02 -0400 |
---|---|---|
committer | David Sterba <[email protected]> | 2018-10-15 17:23:39 +0200 |
commit | 545e3366db823dc3342ca9d7fea803f829c9062f (patch) | |
tree | e3683a0c4c50fd3c7c760bf0692a29ea080c769f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 553cceb49681d60975d00892877d4c871bf220f9 (diff) |
btrfs: make sure we create all new block groups
Allocating new chunks modifies both the extent and chunk tree, which can
trigger new chunk allocations. So instead of doing list_for_each_safe,
just do while (!list_empty()) so we make sure we don't exit with other
pending bg's still on our list.
CC: [email protected] # 4.4+
Reviewed-by: Omar Sandoval <[email protected]>
Reviewed-by: Liu Bo <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions