[PATCH v4] xfs: introduce object readahead to log recovery

Ben Myers bpm at sgi.com
Fri Aug 23 14:33:25 CDT 2013


On Wed, Aug 14, 2013 at 03:16:03PM +0800, zwu.kernel at gmail.com wrote:
> From: Zhi Yong Wu <wuzhy at linux.vnet.ibm.com>
> 
>   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 at linux.vnet.ibm.com>

Looks good.

Reviewed-by: Ben Myers <bpm at sgi.com>

Applied.



More information about the xfs mailing list