Always use direct-io for flush and compaction
This commit is contained in:
parent
fe0256dbf9
commit
37890ee3cb
@ -1091,9 +1091,7 @@ public class LLLocalKeyValueDatabase extends Backuppable implements LLKeyValueDa
|
||||
.setAllowMmapWrites(allowMmapWrites);
|
||||
}
|
||||
|
||||
if (useDirectIO || !allowMmapWrites) {
|
||||
options.setUseDirectIoForFlushAndCompaction(true);
|
||||
}
|
||||
options.setUseDirectIoForFlushAndCompaction(true);
|
||||
|
||||
return new OptionsWithCache(options, blockCache);
|
||||
} catch (IOException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user