aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/direct_io.h
diff options
context:
space:
mode:
authorkulikov <kulikov@yandex-team.ru>2022-02-10 16:49:34 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:34 +0300
commitc707901605d7b7c6cba0998cd52e1ae619c97762 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/system/direct_io.h
parent65e5266709e7ff94b14ae128309e229de714b0df (diff)
downloadydb-c707901605d7b7c6cba0998cd52e1ae619c97762.tar.gz
Restoring authorship annotation for <kulikov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/direct_io.h')
-rw-r--r--util/system/direct_io.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/system/direct_io.h b/util/system/direct_io.h
index ec1ff84356..6a3325a960 100644
--- a/util/system/direct_io.h
+++ b/util/system/direct_io.h
@@ -16,10 +16,10 @@ public:
void FlushData();
void Finish();
- size_t Read(void* buffer, size_t byteCount);
- void Write(const void* buffer, size_t byteCount);
- size_t Pread(void* buffer, size_t byteCount, ui64 offset);
- void Pwrite(const void* buffer, size_t byteCount, ui64 offset);
+ size_t Read(void* buffer, size_t byteCount);
+ void Write(const void* buffer, size_t byteCount);
+ size_t Pread(void* buffer, size_t byteCount, ui64 offset);
+ void Pwrite(const void* buffer, size_t byteCount, ui64 offset);
inline bool IsOpen() const {
return true;
@@ -54,8 +54,8 @@ private:
return Alignment ? value == AlignDown(value, Alignment) : true;
}
- size_t PreadSafe(void* buffer, size_t byteCount, ui64 offset);
- size_t ReadFromFile(void* buffer, size_t byteCount, ui64 offset);
+ size_t PreadSafe(void* buffer, size_t byteCount, ui64 offset);
+ size_t ReadFromFile(void* buffer, size_t byteCount, ui64 offset);
void WriteToFile(const void* buf, size_t len, ui64 position);
void WriteToBuffer(const void* buf, size_t len, ui64 position);
void SetDirectIO(bool value);