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
commit8bfc24a315c0a821841d2d5bb73e55268b7ecfb6 (patch)
tree11b6d7b43a1a1f99547031fd7c6218e292aee533 /util/system/direct_io.h
parent8d3a5b9c70bfb823a30242286328d6017b82b9ce (diff)
downloadydb-8bfc24a315c0a821841d2d5bb73e55268b7ecfb6.tar.gz
Restoring authorship annotation for <amatveyev@yandex-team.ru>. Commit 1 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 6a3325a960..a4f20f50fc 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;