summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2013-10-14 06:59:45 +0200
committerChris Mason <clm@fb.com>2014-01-28 22:19:22 +0100
commitc46effa601f869f3d20a7386a745d9c002838eb8 (patch)
tree7aa114c1a78e1834950a34524c8ada82569af50b /drivers/hwmon
parentBtrfs: fix check-integrity to look at the referenced data properly (diff)
downloadlinux-c46effa601f869f3d20a7386a745d9c002838eb8.tar.xz
linux-c46effa601f869f3d20a7386a745d9c002838eb8.zip
Btrfs: introduce a head ref rbtree
The way how we process delayed refs is 1) get a bunch of head refs, 2) pick up one head ref, 3) go one node back for any delayed ref updates. The head ref is also linked in the same rbtree as the delayed ref is, so in 1) stage, we have to walk one by one including not only head refs, but delayed refs. When we have a great number of delayed refs pending to process, this'll cost time a lot. Here we introduce a head ref specific rbtree, it only has head refs, so troubles go away. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions