aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2017-09-29 15:43:51 -0400
committerDavid Sterba <dsterba@suse.com>2017-10-30 12:28:00 +0100
commit7c777430e855898461d54efd14b3942c763ee8de (patch)
tree3304f759e0451561b124f8f52c930b9513fa95dd /tools/perf/scripts/python/export-to-sqlite.py
parentfd708b81d972a0714b02a60eb4792fdbf15868c4 (diff)
downloadlinux-7c777430e855898461d54efd14b3942c763ee8de.tar.gz
linux-7c777430e855898461d54efd14b3942c763ee8de.tar.bz2
linux-7c777430e855898461d54efd14b3942c763ee8de.zip
Btrfs: only check delayed ref usage in should_end_transaction
We were only doing btrfs_check_space_for_delayed_refs() if the metadata space was full, ie we couldn't allocate chunks. This assumes we'll be able to allocate chunks during transaction commit, but since nothing does a LIMIT flush during the transaction commit this won't actually happen unless we happen to run shy of actual space. We already take into account a full fs in btrfs_check_space_for_delayed_refs() so just kill this extra check to make sure we're ending the transaction when we need to. Signed-off-by: Josef Bacik <jbacik@fb.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