summaryrefslogtreecommitdiff
path: root/fs/minix/namei.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2020-12-18 14:24:26 -0500
committerDavid Sterba <dsterba@suse.com>2021-02-08 22:58:57 +0100
commit488bc2a2d21e5faf14f9f695bb592ae9dd0e7465 (patch)
tree507f01f21358c5def8d34849ac75f731108535ce /fs/minix/namei.c
parentdac348e9257051e7a39224747695b53e3fc737d7 (diff)
btrfs: run delayed refs less often in commit_cowonly_roots
We love running delayed refs in commit_cowonly_roots, but it is a bit excessive. I was seeing cases of running 3 or 4 refs a few times in a row during this time. Instead simply: - update all of the roots first - then run delayed refs - then handle the empty block groups case - and then if we have any more dirty roots do the whole thing again This allows us to be much more efficient with our delayed ref running, as we can batch a few more operations at once. 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 'fs/minix/namei.c')
0 files changed, 0 insertions, 0 deletions