]> 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)
commitc4220a878ce4da4ee20f8c01415909a322907b04
tree4961605906cf3c8f50ae24fd1d4109eeb5e19e1a
parent3ae942499bcd58069ae7369695d582dd5584d3a1
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