]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: use bluefs_max_prefetch for log file prefetch
authorxie xingguo <xie.xingguo@zte.com.cn>
Fri, 19 Aug 2016 03:20:31 +0000 (11:20 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Fri, 19 Aug 2016 05:49:57 +0000 (13:49 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/bluestore/BlueFS.cc

index 61670a418b2ea53fd0baa45c16ea452fbe54a008..dedc526a4edfdb9ca0fdcebe2cad0c7261116c65 100644 (file)
@@ -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) {