Btrfs: Fix extent code to use merge during delete
Remove implicit commit in del_item and insert_item Add implicit commit to close() Add commit op in random-test Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
committed by
David Woodhouse
parent
ed2ff2cba7
commit
f0930a37f1
@@ -239,6 +239,7 @@ static int drop_cache(struct ctree_root *root)
|
||||
}
|
||||
int close_ctree(struct ctree_root *root)
|
||||
{
|
||||
commit_transaction(root);
|
||||
drop_cache(root->extent_root);
|
||||
drop_cache(root);
|
||||
BUG_ON(!list_empty(&root->trans));
|
||||
|
Reference in New Issue
Block a user