diff options
author | Ruslan Kovalev <ruslan.a.kovalev@gmail.com> | 2022-02-10 16:46:45 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:45 +0300 |
commit | 9123176b341b6f2658cff5132482b8237c1416c8 (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /util/system/filemap.cpp | |
parent | 59e19371de37995fcb36beb16cd6ec030af960bc (diff) | |
download | ydb-9123176b341b6f2658cff5132482b8237c1416c8.tar.gz |
Restoring authorship annotation for Ruslan Kovalev <ruslan.a.kovalev@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'util/system/filemap.cpp')
-rw-r--r-- | util/system/filemap.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/system/filemap.cpp b/util/system/filemap.cpp index 3f3536e383..7454a4cb94 100644 --- a/util/system/filemap.cpp +++ b/util/system/filemap.cpp @@ -1,5 +1,5 @@ #include "info.h" -#include "madvise.h" +#include "madvise.h" #include "defaults.h" #include "hi_lo.h" @@ -288,14 +288,14 @@ public: void SetSequential() { #if defined(_unix_) - if (!(Mode_ & oNotGreedy) && Length_) { - MadviseSequentialAccess(PtrStart_, Length_); - } + if (!(Mode_ & oNotGreedy) && Length_) { + MadviseSequentialAccess(PtrStart_, Length_); + } #endif } void Evict(void* ptr, size_t len) { - MadviseEvict(ptr, len); + MadviseEvict(ptr, len); } void Evict() { |