]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: batch the extent state operation in the end io handle of the read page
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 25 Jul 2013 11:22:35 +0000 (19:22 +0800)
committerChris Mason <chris.mason@fusionio.com>
Sun, 1 Sep 2013 12:04:34 +0000 (08:04 -0400)
commitcafa6c30e6340b878913ec20a43515ab3313cde7
tree30dd240823c2e6c817aa326e8a470d66a068fd45
parente7b92b0dad289639779b0ca36ef9a1be52f93e8e
Btrfs: batch the extent state operation in the end io handle of the read page

Before applying this patch, we set the uptodate flag and unlock the extent
by the page size, it is unnecessary, we can do it in batches, it 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>
fs/btrfs/extent_io.c