diff options
author | Ivan Komarov <Ivan.Komarov@dfyz.info> | 2022-02-10 16:46:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:49 +0300 |
commit | 59aca5c5180c31691884667783dc966eb99d743a (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /util/system/direct_io.cpp | |
parent | 4de97ab2fe437cbe83e4c63234e809ddd5ac34f2 (diff) | |
download | ydb-59aca5c5180c31691884667783dc966eb99d743a.tar.gz |
Restoring authorship annotation for Ivan Komarov <Ivan.Komarov@dfyz.info>. Commit 2 of 2.
Diffstat (limited to 'util/system/direct_io.cpp')
-rw-r--r-- | util/system/direct_io.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/system/direct_io.cpp b/util/system/direct_io.cpp index 58a72e0f48..f59c54b0cb 100644 --- a/util/system/direct_io.cpp +++ b/util/system/direct_io.cpp @@ -2,7 +2,7 @@ #include <util/generic/singleton.h> #include <util/generic/yexception.h> -#include <util/system/info.h> +#include <util/system/info.h> #include "align.h" #ifdef _linux_ @@ -32,7 +32,7 @@ namespace { if (linuxVersionCode < KERNEL_VERSION(2, 4, 10)) { Alignment = 0; } else if (linuxVersionCode < KERNEL_VERSION(2, 6, 0)) { - Alignment = NSystemInfo::GetPageSize(); + Alignment = NSystemInfo::GetPageSize(); } else { // Default alignment used to be 512, but most modern devices rely on 4k physical blocks. // 4k alignment works well for both 512 and 4k blocks and doesn't require 512e support in the kernel. |