MCPcopy Create free account
hub / github.com/aliyun/ossfs / validate_disk_data_cache_io_engine

Function validate_disk_data_cache_io_engine

src/options.cpp:295–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293 "IO engine for disk data cache: libaio or psync", kCachingOptions,
294 false, false);
295static bool validate_disk_data_cache_io_engine(const char *flagname,
296 const std::string &value) {
297 return value == "libaio" || value == "psync";
298}
299DEFINE_validator(disk_data_cache_io_engine,
300 &validate_disk_data_cache_io_engine);
301

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected