From 00574da199291751bfaaee15ad0f42a7144276ad Mon Sep 17 00:00:00 2001 From: Zhi Yong Wu Date: Wed, 14 Aug 2013 15:16:03 +0800 Subject: [PATCH] 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 Reviewed-by: Ben Myers Signed-off-by: Ben Myers --- Reading git-format-patch failed