aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/direct_io.h
diff options
context:
space:
mode:
authoramatveyev <amatveyev@yandex-team.ru>2022-02-10 16:50:11 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:11 +0300
commit356ed1df7e093a7801a7a46639f333abfcc16397 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/system/direct_io.h
parent8bfc24a315c0a821841d2d5bb73e55268b7ecfb6 (diff)
downloadydb-356ed1df7e093a7801a7a46639f333abfcc16397.tar.gz
Restoring authorship annotation for <amatveyev@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/direct_io.h')
-rw-r--r--util/system/direct_io.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/direct_io.h b/util/system/direct_io.h
index a4f20f50fc..6a3325a960 100644
--- a/util/system/direct_io.h
+++ b/util/system/direct_io.h
@@ -22,7 +22,7 @@ public:
void Pwrite(const void* buffer, size_t byteCount, ui64 offset);
inline bool IsOpen() const {
- return true;
+ return true;
}
inline ui64 GetWritePosition() const {
@@ -33,8 +33,8 @@ public:
return FlushedBytes + DataLen;
}
- inline FHANDLE GetHandle() {
- return File.GetHandle();
+ inline FHANDLE GetHandle() {
+ return File.GetHandle();
}
inline void FallocateNoResize(ui64 length) {
@@ -61,7 +61,7 @@ private:
void SetDirectIO(bool value);
private:
- TFile File;
+ TFile File;
size_t Alignment;
size_t BufLen;
size_t DataLen;