summaryrefslogtreecommitdiff
path: root/fs/ioprio.c
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2013-07-25 11:22:36 (GMT)
committerChris Mason <chris.mason@fusionio.com>2013-09-01 12:04:35 (GMT)
commit9974090bdd7ac310d99a8ce6da7d6a19b3099ff9 (patch)
treed5560cd2d7d698737b358afc718b36fdec7aa1dd /fs/ioprio.c
parent883d0de485222715929f7b7e2a9a34dc9b9b2be2 (diff)
downloadlinux-fsl-qoriq-9974090bdd7ac310d99a8ce6da7d6a19b3099ff9.tar.xz
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 'fs/ioprio.c')
0 files changed, 0 insertions, 0 deletions