mirror of
https://github.com/matrix-construct/construct
synced 2024-11-04 21:08:57 +01:00
ircd::db: Disable fallocate() use for now.
This commit is contained in:
parent
24e423c714
commit
0250c0f2ec
1 changed files with 4 additions and 3 deletions
|
@ -888,9 +888,10 @@ try
|
|||
// Use the determined direct io value for writes as well.
|
||||
opts->use_direct_io_for_flush_and_compaction = opts->use_direct_reads;
|
||||
|
||||
// This is true by default, but we list it here for developer hacking;
|
||||
// also, doesn't appear to be in effect when direct io is used.
|
||||
opts->allow_fallocate = true;
|
||||
// Doesn't appear to be in effect when direct io is used. Not supported by
|
||||
// all filesystems so disabled for now.
|
||||
// TODO: use fs::support::fallocate() test similar to direct_io_test_file.
|
||||
opts->allow_fallocate = false;
|
||||
|
||||
#ifdef RB_DEBUG
|
||||
opts->dump_malloc_stats = true;
|
||||
|
|
Loading…
Reference in a new issue