aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2013-07-25 19:22:36 +0800
committerChris Mason <chris.mason@fusionio.com>2013-09-01 08:04:35 -0400
commit9974090bdd7ac310d99a8ce6da7d6a19b3099ff9 (patch)
treed5560cd2d7d698737b358afc718b36fdec7aa1dd /samples
parent883d0de485222715929f7b7e2a9a34dc9b9b2be2 (diff)
downloadkernel_goldelico_gta04-9974090bdd7ac310d99a8ce6da7d6a19b3099ff9.zip
kernel_goldelico_gta04-9974090bdd7ac310d99a8ce6da7d6a19b3099ff9.tar.gz
kernel_goldelico_gta04-9974090bdd7ac310d99a8ce6da7d6a19b3099ff9.tar.bz2
Btrfs: batch the extent state operation when reading pages
In the past, we cached the checksum value in the extent state object, so we had to split the extent state object by the block size, or we had no space to keep this checksum value. But it increased the lock contention of the extent state tree. Now we removed this limit by caching the checksum into the bio object, so it is unnecessary to do the extent state operations by the block size, we can do it in batches, in this way, we can reduce the lock contention of the extent state tree. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions