diff options
author | Josef Bacik <josef@redhat.com> | 2011-05-11 18:17:34 +0200 |
---|---|---|
committer | Josef Bacik <josef@redhat.com> | 2011-05-23 19:03:10 +0200 |
commit | cb25c2ea6a79702ab7895b873c6c43e0d3bc3c72 (patch) | |
tree | 08d112b38a1e017b563035b78861288dbf0d2fd6 /crypto/rmd256.c | |
parent | Btrfs: set range_start to the right start in count_range_bits (diff) | |
download | linux-cb25c2ea6a79702ab7895b873c6c43e0d3bc3c72.tar.xz linux-cb25c2ea6a79702ab7895b873c6c43e0d3bc3c72.zip |
Btrfs: map the node block when looking for readahead targets
If we have particularly full nodes, we could call btrfs_node_blockptr up to 32
times, which is 32 pairs of kmap/kunmap, which _sucks_. So go ahead and map the
extent buffer while we look for readahead targets. Thanks,
Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'crypto/rmd256.c')
0 files changed, 0 insertions, 0 deletions