Home
last modified time | relevance | path

Searched refs:writable_file_ (Results 1 – 2 of 2) sorted by relevance

/rocksdb-6.9/file/
Dwritable_file_writer.cc36 writable_file_->PrepareWrite(static_cast<size_t>(GetFileSize()), left, in Append()
130 if (!writable_file_) { in Close()
140 interim = writable_file_->Truncate(filesize_, IOOptions(), nullptr); in Close()
142 interim = writable_file_->Fsync(IOOptions(), nullptr); in Close()
150 interim = writable_file_->Close(IOOptions(), nullptr); in Close()
155 writable_file_.reset(); in Close()
188 s = writable_file_->Flush(IOOptions(), nullptr); in Flush()
258 if (!writable_file_->IsSyncThreadSafe()) { in SyncWithoutFlush()
276 s = writable_file_->Fsync(IOOptions(), nullptr); in SyncInternal()
278 s = writable_file_->Sync(IOOptions(), nullptr); in SyncInternal()
[all …]
Dwritable_file_writer.h55 std::unique_ptr<FSWritableFile> writable_file_; variable
85 : writable_file_(std::move(file)), in writable_file_() function
104 buf_.Alignment(writable_file_->GetRequiredBufferAlignment()); in writable_file_()
151 return writable_file_->InvalidateCache(offset, length); in InvalidateCache()
154 FSWritableFile* writable_file() const { return writable_file_.get(); } in writable_file()
156 bool use_direct_io() { return writable_file_->use_direct_io(); } in use_direct_io()