summaryrefslogtreecommitdiff
path: root/fs/drop_caches.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2012-09-28 15:56:28 (GMT)
committerChris Mason <chris.mason@fusionio.com>2012-10-09 13:15:41 (GMT)
commit18ec90d63f43cf785f6e73e7a7db546bff3fa380 (patch)
tree1f75eeb616202d30d331149c922525fbd25b84d8 /fs/drop_caches.c
parent6f1fed775316d58ba356b2ce62de600ad00f003a (diff)
downloadlinux-fsl-qoriq-18ec90d63f43cf785f6e73e7a7db546bff3fa380.tar.xz
Btrfs: be smarter about dropping things from the tree log
When we truncate existing items in the tree log we've been searching for each individual item and removing them. This is unnecessary churn and searching, just keep track of the slot we are on and how many items we need to delete and delete them all at once. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/drop_caches.c')
0 files changed, 0 insertions, 0 deletions