mirror of
https://github.com/ceph/ceph
synced 2025-01-10 13:10:46 +00:00
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:
parent
94a3964258
commit
8495245041
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user