Searched refs:opt_ (Results 1 – 2 of 2) sorted by relevance
| /rocksdb-6.9/utilities/persistent_cache/ |
| D | block_cache_tier.cc | 32 status = opt_.ValidateSettings(); in Open() 40 status = opt_.env->CreateDirIfMissing(opt_.path); in Open() 42 Error(opt_.log, "Error creating directory %s. %s", opt_.path.c_str(), in Open() 54 Error(opt_.log, "Error creating directory %s. %s", opt_.path.c_str(), in Open() 64 Error(opt_.log, "Error creating new file %s. %s", opt_.path.c_str(), in Open() 71 if (opt_.pipeline_writes) { in Open() 179 if (opt_.pipeline_writes) { in Insert() 186 assert(!opt_.pipeline_writes); in Insert() 333 opt_.cache_file_size, opt_.log)); in NewCacheFile() 335 bool status = f->Create(opt_.enable_direct_writes, opt_.enable_direct_reads); in NewCacheFile() [all …]
|
| D | block_cache_tier.h | 46 : opt_(opt), in BlockCacheTier() 47 insert_ops_(static_cast<size_t>(opt_.max_write_pipeline_backlog_size)), in BlockCacheTier() 49 writer_(this, opt_.writer_qdepth, static_cast<size_t>(opt_.writer_dispatch_size)) { in BlockCacheTier() 50 Info(opt_.log, "Initializing allocator. size=%d B count=%" ROCKSDB_PRIszt, in BlockCacheTier() 51 opt_.write_buffer_size, opt_.write_buffer_count()); in BlockCacheTier() 68 bool IsCompressed() override { return opt_.is_compressed; } in IsCompressed() 70 std::string GetPrintableOptions() const override { return opt_.ToString(); } in GetPrintableOptions() 113 std::string GetCachePath() const { return opt_.path + "/cache"; } in GetCachePath() 142 const PersistentCacheConfig opt_; // BlockCache options variable
|