Fix the compilation error in flashcache.cc on Mac

Summary:
Fix the following compilation error in flashcache.cc on Mac

Undefined symbols for architecture x86_64:

"rocksdb::NewFlashcacheAwareEnv(rocksdb::Env*, int)", referenced from:
    rocksdb::Benchmark::Open(rocksdb::Options*) in db_bench.o

Test Plan: make db_bench

Reviewers: sdong, igor, rven

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D36657
This commit is contained in:
Yueh-Hsuan Chiang 2015-04-07 15:25:22 -07:00
parent cba5920011
commit db6569cd4a
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ int FlashcacheWhitelistCurrentThread(Env* flashcache_aware_env) {
#else // !defined(ROCKSDB_LITE) && defined(OS_LINUX)
std::unique_ptr<Env> NewFlashcacheAwareEnv(Env* base,
const std::string& flashcache_dev) {
const int cachedev_fd) {
return nullptr;
}
int FlashcacheBlacklistCurrentThread(Env* flashcache_aware_env) { return -1; }