commit | 2cc58cf24f69be8632a3b29d653c318bf3bd8c84 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Mon Aug 27 16:49:44 2007 -0400 |
committer | David Woodhouse <dwmw2@hera.kernel.org> | Mon Aug 27 16:49:44 2007 -0400 |
tree | ca7eeec52113f8b4c1e45743da72e1b227aa4e34 | |
parent | 320206112895c72f98e57570ae194689dcd7fe56 [diff] [blame] |
Btrfs: Do more extensive readahead during tree searches Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 3984841..7e4cf62 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c
@@ -827,7 +827,7 @@ btrfs_set_key_type(&key, key_type); key.offset = filp->f_pos; path = btrfs_alloc_path(); - path->reada = 1; + path->reada = 2; ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); if (ret < 0) goto err;