]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
btrfs: reada: Pass reada_extent into __readahead_hook directly
authorZhao Lei <zhaolei@cn.fujitsu.com>
Thu, 31 Dec 2015 14:09:05 +0000 (22:09 +0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 18 Feb 2016 09:26:12 +0000 (10:26 +0100)
commit6e39dbe8b9e55280c396a19fb92e82f1b56f83d7
tree29352ae8c63eaf8c567d231ca7252fff4ce98560
parentb257cf50060cada63a3fe11a932909b9badf4595
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>
fs/btrfs/reada.c