]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Btrfs: don't look at the extent buffer level 3 times in a row
authorJosef Bacik <josef@redhat.com>
Wed, 11 May 2011 16:25:37 +0000 (12:25 -0400)
committerJosef Bacik <josef@redhat.com>
Mon, 23 May 2011 17:03:11 +0000 (13:03 -0400)
commit7e2355ba1a11649f0b212a29fdb9f47476f1248e
tree94960a4d30595f9806dc66dcc36ae10756936f7c
parentcb25c2ea6a79702ab7895b873c6c43e0d3bc3c72
Btrfs: don't look at the extent buffer level 3 times in a row

We have a bit of debugging in btrfs_search_slot to make sure the level of the
cow block is the same as the original block we were cow'ing.  I don't think I've
ever seen this tripped, so kill it.  This saves us 2 kmap's per level in our
search.  Thanks,

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