Skip to content
Commit cb25c2ea authored by Josef Bacik's avatar Josef Bacik
Browse files

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: default avatarJosef Bacik <josef@redhat.com>
parent af60bed2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment