]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit09f58e2e2f048671aa8d115ec0d989e98c0de34a
tree4961605906cf3c8f50ae24fd1d4109eeb5e19e1a
parent7c4cd1a4dbf18b418d26e8df80f652a27d38dfe7
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