Btrfs: Further reduce the concurrency penalty of defrag and drop_snapshot
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:

committed by
David Woodhouse

parent
26b8003f10
commit
409eb95d7f
@@ -364,6 +364,9 @@ int btrfs_defrag_dirty_roots(struct btrfs_fs_info *info)
|
||||
break;
|
||||
}
|
||||
root->defrag_running = 0;
|
||||
radix_tree_tag_clear(&info->fs_roots_radix,
|
||||
(unsigned long)root->root_key.objectid,
|
||||
BTRFS_ROOT_DEFRAG_TAG);
|
||||
}
|
||||
}
|
||||
btrfs_end_transaction(trans, tree_root);
|
||||
|
Reference in New Issue
Block a user