summaryrefslogtreecommitdiff
path: root/fs/splice.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2020-12-18 14:24:23 -0500
committerDavid Sterba <dsterba@suse.com>2021-02-08 22:58:57 +0100
commit2a4d84c11a872551a335cfe3ee8b60af67ded109 (patch)
tree963db32cdc45430a7d132facaaa76f1d40e0276c /fs/splice.c
parentad368f3394b796fd7faa46da8d326c98718f21d7 (diff)
btrfs: move delayed ref flushing for qgroup into qgroup helper
The commit d67263354541 ("btrfs: qgroup: Make snapshot accounting work with new extent-oriented qgroup.") added a flush of the delayed refs during snapshot creation in order to get the qgroup accounting properly. However this code has changed and been moved to it's own helper that is skipped if qgroups are turned off. Move the flushing to the helper, as we do not need it when qgroups are turned off. Also add a comment explaining why it exists, and why it doesn't actually save us. This will be helpful later when we try to fix qgroup accounting properly. 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 'fs/splice.c')
0 files changed, 0 insertions, 0 deletions