Lines Matching refs:opt
62 PersistentCacheConfig opt(Env::Default(), FLAGS_path, FLAGS_cache_size, log); in NewBlockCache() local
63 opt.writer_dispatch_size = FLAGS_writer_iosize; in NewBlockCache()
64 opt.writer_qdepth = FLAGS_writer_qdepth; in NewBlockCache()
65 opt.pipeline_writes = FLAGS_enable_pipelined_writes; in NewBlockCache()
66 opt.max_write_pipeline_backlog_size = std::numeric_limits<uint64_t>::max(); in NewBlockCache()
67 std::unique_ptr<PersistentCacheTier> cache(new BlockCacheTier(opt)); in NewBlockCache()
75 const size_t mem_size, const PersistentCacheConfig& opt) { in NewTieredCache() argument
83 auto scache = std::shared_ptr<PersistentCacheTier>(new BlockCacheTier(opt)); in NewTieredCache()
99 PersistentCacheConfig opt(Env::Default(), FLAGS_path, in NewTieredCache() local
101 opt.writer_dispatch_size = FLAGS_writer_iosize; in NewTieredCache()
102 opt.writer_qdepth = FLAGS_writer_qdepth; in NewTieredCache()
103 opt.pipeline_writes = FLAGS_enable_pipelined_writes; in NewTieredCache()
104 opt.max_write_pipeline_backlog_size = std::numeric_limits<uint64_t>::max(); in NewTieredCache()
105 return NewTieredCache(FLAGS_cache_size * pct, opt); in NewTieredCache()