mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 15:30:52 +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.
|
// Use the determined direct io value for writes as well.
|
||||||
opts->use_direct_io_for_flush_and_compaction = opts->use_direct_reads;
|
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;
|
// Doesn't appear to be in effect when direct io is used. Not supported by
|
||||||
// also, doesn't appear to be in effect when direct io is used.
|
// all filesystems so disabled for now.
|
||||||
opts->allow_fallocate = true;
|
// TODO: use fs::support::fallocate() test similar to direct_io_test_file.
|
||||||
|
opts->allow_fallocate = false;
|
||||||
|
|
||||||
#ifdef RB_DEBUG
|
#ifdef RB_DEBUG
|
||||||
opts->dump_malloc_stats = true;
|
opts->dump_malloc_stats = true;
|
||||||
|
|
Loading…
Reference in a new issue