commit | 883d0de485222715929f7b7e2a9a34dc9b9b2be2 | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Thu Jul 25 19:22:35 2013 +0800 |
committer | Chris Mason <chris.mason@fusionio.com> | Sun Sep 01 08:04:34 2013 -0400 |
tree | 30dd240823c2e6c817aa326e8a470d66a068fd45 | |
parent | facc8a2247340a9735fe8cc123c5da2102f5ef1b [diff] |
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>