]> 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)
commit48c4459556b67ef5a9ab2fffb2daae204208608e
tree30dd240823c2e6c817aa326e8a470d66a068fd45
parentf45df5d49851ec62da286c1a0dd4fd46b2e29ca8
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