Josef Bacik bdf7c00e8f Btrfs: optimize read_block_for_search
This patch does two things, first it only does one call to
btrfs_buffer_uptodate() with the gen specified instead of once with 0 and then
again with gen specified.  The other thing is to call btrfs_read_buffer() on the
buffer we've found instead of dropping it and then calling read_tree_block().
This will keep us from doing yet another radix tree lookup for a buffer we've
already found.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
2013-07-01 08:52:32 -04:00
..
2013-05-06 15:54:49 -04:00
2013-07-01 08:52:32 -04:00
2013-06-14 11:29:28 -04:00
2013-05-06 15:54:34 -04:00
2012-10-09 09:14:45 -04:00
2013-03-14 14:57:10 -04:00
2013-02-01 14:24:23 -05:00
2013-02-01 14:24:23 -05:00
2013-06-14 11:30:12 -04:00
2013-06-14 11:30:11 -04:00
2012-10-09 09:19:57 -04:00