diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-06-25 16:01:30 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:03 -0400 |
commit | 051e1b9f748ae673b7325d3fc049bb838606cffa (patch) | |
tree | 82d9d98a56ed776df8eee270dc9e11d7f0eb9d56 /fs/btrfs/extent-tree.c | |
parent | a213501153fd66e2359e091b1612841305ba6551 (diff) | |
download | kernel_samsung_aries-051e1b9f748ae673b7325d3fc049bb838606cffa.zip kernel_samsung_aries-051e1b9f748ae673b7325d3fc049bb838606cffa.tar.gz kernel_samsung_aries-051e1b9f748ae673b7325d3fc049bb838606cffa.tar.bz2 |
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>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 890b9e9..0905653 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -88,7 +88,6 @@ static int cache_block_group(struct btrfs_root *root, return -ENOMEM; path->reada = 2; - path->skip_locking = 1; first_free = block_group->key.objectid; key.objectid = block_group->key.objectid; key.offset = 0; |