os/bluestore: use bluefs_max_prefetch for log file prefetch

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
This commit is contained in:
xie xingguo 2016-08-19 11:20:31 +08:00
parent 94a3964258
commit 8495245041

View 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) {