summaryrefslogtreecommitdiff
path: root/drivers/leds
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@gmail.com>2014-05-31 02:31:05 +0100
committerChris Mason <clm@fb.com>2014-06-09 17:21:04 -0700
commit2c463823cb897a8e1758518c911646f5605cdd82 (patch)
tree65f95634ccd85b562325e1134ce16180cb179c32 /drivers/leds
parentc55bfa67e94e22ec0449fe7c55b3ef20fbe13348 (diff)
Btrfs: avoid visiting all extent items when cloning a range
When cloning a range of a file, we were visiting all the extent items in the btree that belong to our source inode. We don't need to visit those extent items that don't overlap the range we are cloning, as doing so only makes us waste time and do unnecessary btree navigations (btrfs_next_leaf) for inodes that have a large number of file extent items in the btree. Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions