mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 08:42:34 +01:00
ircd:Ⓜ️:events: FADV_DONTNEED on events dump fd.
This commit is contained in:
parent
048cfe7019
commit
47df2bc4e2
1 changed files with 3 additions and 0 deletions
|
@ -94,6 +94,9 @@ ircd::m::events::dump__file(const string_view &filename)
|
|||
filename, std::ios::out | std::ios::app
|
||||
};
|
||||
|
||||
// POSIX_FADV_DONTNEED
|
||||
fs::evict(file);
|
||||
|
||||
const unique_buffer<mutable_buffer> buf
|
||||
{
|
||||
size_t(dump_buffer_size)
|
||||
|
|
Loading…
Reference in a new issue