diff options
author | Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> | 2013-08-14 07:16:03 (GMT) |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-08-23 19:32:50 (GMT) |
commit | 00574da199291751bfaaee15ad0f42a7144276ad (patch) | |
tree | c1d4bb20d559b5e5d2a137347886c45dde7b3c46 /fs/xfs/xfs_da_btree.h | |
parent | 8d1d40832b1c53ae73931f1b536ce1ab7375b3c8 (diff) | |
download | linux-fsl-qoriq-00574da199291751bfaaee15ad0f42a7144276ad.tar.xz |
xfs: introduce object readahead to log recovery
It can take a long time to run log recovery operation because it is
single threaded and is bound by read latency. We can find that it took
most of the time to wait for the read IO to occur, so if one object
readahead is introduced to log recovery, it will obviously reduce the
log recovery time.
Log recovery time stat:
w/o this patch w/ this patch
real: 0m15.023s 0m7.802s
user: 0m0.001s 0m0.001s
sys: 0m0.246s 0m0.107s
Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_da_btree.h')
0 files changed, 0 insertions, 0 deletions