Drop locks in btrfs_search_slot when reading a tree block.
One lock per btree block can make for significant congestion if everyone has to wait for IO at the high levels of the btree. This drops locks held by a path when doing reads during a tree search. Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
@@ -336,7 +336,6 @@ struct btrfs_path {
|
||||
/* keep some upper locks as we walk down */
|
||||
int keep_locks;
|
||||
int lowest_level;
|
||||
int skip_locking;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user