diff options
author | 2020-12-18 14:24:25 -0500 | |
---|---|---|
committer | 2021-02-08 22:58:57 +0100 | |
commit | dac348e9257051e7a39224747695b53e3fc737d7 (patch) | |
tree | 6c83d55890e180146877a5ed3851d0bb468f4113 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | btrfs: remove bogus BUG_ON in alloc_reserved_tree_block (diff) | |
download | linux-dev-dac348e9257051e7a39224747695b53e3fc737d7.tar.xz linux-dev-dac348e9257051e7a39224747695b53e3fc737d7.zip |
btrfs: stop running all delayed refs during snapshot
This was added in commit 361048f586f5 ("Btrfs: fix full backref problem
when inserting shared block reference") to address a problem where we
hit the following BUG_ON() in alloc_reserved_tree_block
if (node->type == BTRFS_SHARED_BLOCK_REF_KEY) {
BUG_ON(!(flags & BTRFS_BLOCK_FLAG_FULL_BACKREF));
However this BUG_ON() is bogus, and was removed by previous commit:
btrfs: remove bogus BUG_ON in alloc_reserved_tree_block
We no longer need to run delayed refs because of this, and can remove
this flushing here.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions