Btrfs: leave spinning on lookup and map the leaf
authorJosef Bacik <josef@redhat.com>
Tue, 17 May 2011 13:50:54 +0000 (09:50 -0400)
committerJosef Bacik <josef@redhat.com>
Mon, 23 May 2011 17:03:17 +0000 (13:03 -0400)
commitd90c732122a1f6d0efe388a8a204f67f144b2eb3
tree4961605906cf3c8f50ae24fd1d4109eeb5e19e1a
parent207dde8289d9b005b665cb9d8d2bb9464256101d
Btrfs: leave spinning on lookup and map the leaf

On lookup we only want to read the inode item, so leave the path spinning.  Also
we're just wholesale reading the leaf off, so map the leaf so we don't do a
bunch of kmap/kunmaps.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
fs/btrfs/inode.c