diff options
author | easergeev <easergeev@yandex-team.ru> | 2022-02-10 16:51:45 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:51:45 +0300 |
commit | 2db97242fffe2a2e7fcfb321249fbb3ade943210 (patch) | |
tree | 7704c05183f852edb43c4cc9f81b33bdf8474f9e /util/system/direct_io.h | |
parent | 3288844da9a26e598b08a1f4c2362603bcf1f506 (diff) | |
download | ydb-2db97242fffe2a2e7fcfb321249fbb3ade943210.tar.gz |
Restoring authorship annotation for <easergeev@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/direct_io.h')
-rw-r--r-- | util/system/direct_io.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/util/system/direct_io.h b/util/system/direct_io.h index 6a3325a960..9ddc6bc50a 100644 --- a/util/system/direct_io.h +++ b/util/system/direct_io.h @@ -37,14 +37,14 @@ public: return File.GetHandle(); } - inline void FallocateNoResize(ui64 length) { - File.FallocateNoResize(length); - } - - inline void ShrinkToFit() { - File.ShrinkToFit(); - } - + inline void FallocateNoResize(ui64 length) { + File.FallocateNoResize(length); + } + + inline void ShrinkToFit() { + File.ShrinkToFit(); + } + private: inline bool IsAligned(i64 value) { return Alignment ? value == AlignDown<i64>(value, Alignment) : true; |