summaryrefslogtreecommitdiff
path: root/fs/fs_struct.c
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2013-07-25 15:22:37 +0400
committerChris Mason <chris.mason@fusionio.com>2013-09-01 16:04:36 +0400
commit125bac016d60e78120e92904a5b2fc3a5ebf0475 (patch)
treed3120749dacb8646f8d2af851c390f79a3c86640 /fs/fs_struct.c
parent9974090bdd7ac310d99a8ce6da7d6a19b3099ff9 (diff)
downloadlinux-125bac016d60e78120e92904a5b2fc3a5ebf0475.tar.xz
Btrfs: cache the extent map struct when reading several pages
When we read several pages at once, we needn't get the extent map object every time we deal with a page, and we can cache the extent map object. So, we can reduce the search time of the extent map, and besides that, we also can reduce the lock contention of the extent map 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/fs_struct.c')
0 files changed, 0 insertions, 0 deletions