summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2020-12-18 22:24:22 +0300
committerDavid Sterba <dsterba@suse.com>2021-02-09 00:58:56 +0300
commitad368f3394b796fd7faa46da8d326c98718f21d7 (patch)
tree746b747f1af12723741a3fdf907a5cfb31c0c1dc /tools/perf/scripts/python
parent61a56a992fcfc694a54de77d896350b9d0588e86 (diff)
downloadlinux-ad368f3394b796fd7faa46da8d326c98718f21d7.tar.xz
btrfs: only run delayed refs once before committing
We try to pre-flush the delayed refs when committing, because we want to do as little work as possible in the critical section of the transaction commit. However doing this twice can lead to very long transaction commit delays as other threads are allowed to continue to generate more delayed refs, which potentially delays the commit by multiple minutes in very extreme cases. So simply stick to one pre-flush, and then continue the rest of the transaction commit. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions