From 8495245041b24c5661201f7a64f2b04f64615535 Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Fri, 19 Aug 2016 11:20:31 +0800 Subject: [PATCH] os/bluestore: use bluefs_max_prefetch for log file prefetch Signed-off-by: xie xingguo --- src/os/bluestore/BlueFS.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/bluestore/BlueFS.cc b/src/os/bluestore/BlueFS.cc index 61670a418b2..dedc526a4ed 100644 --- a/src/os/bluestore/BlueFS.cc +++ b/src/os/bluestore/BlueFS.cc @@ -473,7 +473,7 @@ int BlueFS::_replay(bool noop) dout(10) << __func__ << " log_fnode " << super.log_fnode << dendl; FileReader *log_reader = new FileReader( - log_file, g_conf->bluefs_alloc_size, + log_file, g_conf->bluefs_max_prefetch, false, // !random true); // ignore eof while (true) {