diff options
author | Zhao Lei <zhaolei@cn.fujitsu.com> | 2015-12-31 22:09:05 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-02-18 10:26:12 +0100 |
commit | 6e39dbe8b9e55280c396a19fb92e82f1b56f83d7 (patch) | |
tree | 29352ae8c63eaf8c567d231ca7252fff4ce98560 /fs/btrfs/disk-io.c | |
parent | b257cf50060cada63a3fe11a932909b9badf4595 (diff) | |
download | lwn-6e39dbe8b9e55280c396a19fb92e82f1b56f83d7.tar.gz lwn-6e39dbe8b9e55280c396a19fb92e82f1b56f83d7.zip |
btrfs: reada: Pass reada_extent into __readahead_hook directly
reada_start_machine_dev() already have reada_extent pointer, pass
it into __readahead_hook() directly instead of search radix_tree
will make code run faster.
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions