summaryrefslogtreecommitdiff
path: root/drivers/Kconfig
diff options
context:
space:
mode:
authorFilipe David Borba Manana <fdmanana@gmail.com>2014-02-05 20:48:56 +0400
committerJosef Bacik <jbacik@fb.com>2014-03-10 23:15:49 +0400
commitdff6d0adbe998927f72fc8d9ceee8ff72b124328 (patch)
treeb01f2349fadc31a0af2f38a69000bf41b7f29bb8 /drivers/Kconfig
parenta0859c0998605d2dc1b021543398cd84a40589db (diff)
downloadlinux-dff6d0adbe998927f72fc8d9ceee8ff72b124328.tar.xz
Btrfs: make some tree searches in send.c more efficient
We have this pattern where we do search for a contiguous group of items in a tree and everytime we find an item, we process it, then we release our path, increment the offset of the search key, do another full tree search and repeat these steps until a tree search can't find more items we're interested in. Instead of doing these full tree searches after processing each item, just process the next item/slot in our leaf and don't release the path. Since all these trees are read only and we always use the commit root for a search and skip node/leaf locks, we're not affecting concurrency on the trees. Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com> Signed-off-by: Josef Bacik <jbacik@fb.com>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions