summaryrefslogtreecommitdiff
path: root/fs/btrfs/xattr.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2009-03-13 14:17:05 (GMT)
committerChris Mason <chris.mason@oracle.com>2009-03-24 20:14:26 (GMT)
commitc3e69d58e86c3917ae4e9e31b4acf490a7cafe60 (patch)
treebd4f1e62446a208bdae26f0c36d67e3afbc1cd1d /fs/btrfs/xattr.h
parent1887be66dcc3140a81d1299958a41fc0eedfa64f (diff)
downloadlinux-c3e69d58e86c3917ae4e9e31b4acf490a7cafe60.tar.xz
Btrfs: process the delayed reference queue in clusters
The delayed reference queue maintains pending operations that need to be done to the extent allocation tree. These are processed by finding records in the tree that are not currently being processed one at a time. This is slow because it uses lots of time searching through the rbtree and because it creates lock contention on the extent allocation tree when lots of different procs are running delayed refs at the same time. This commit changes things to grab a cluster of refs for processing, using a cursor into the rbtree as the starting point of the next search. This way we walk smoothly through the rbtree. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/xattr.h')
0 files changed, 0 insertions, 0 deletions