diff options
author | Josef Bacik <josef@toxicpanda.com> | 2018-09-28 07:18:02 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-10-15 17:23:39 +0200 |
commit | 545e3366db823dc3342ca9d7fea803f829c9062f (patch) | |
tree | e3683a0c4c50fd3c7c760bf0692a29ea080c769f /tools/perf/scripts/python/export-to-sqlite.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: stable@vger.kernel.org # 4.4+
Reviewed-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Liu Bo <bo.liu@linux.alibaba.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions