rocksdb/utilities
Yoshinori Matsunobu 824e646341 Adding another NewFlashcacheAwareEnv function to support pre-opened fd
Summary:
There are some cases when flachcache file descriptor was
already allocated (i.e. fb-MySQL). Then NewFlashcacheAwareEnv returns an
error at open() because fd was already assigned. This diff adds another
function to instantiate FlashcacheAwareEnv, with pre-allocated fd cachedev_fd.

Test Plan: Tested with MyRocks using this function, then worked

Reviewers: sdong, igor

Reviewed By: igor

Subscribers: dhruba, MarkCallaghan, rven

Differential Revision: https://reviews.facebook.net/D36447
2015-04-06 16:50:36 -07:00
..
backupable
checkpoint
compacted_db Fix crash caused by opening an empty DB in readonly mode 2015-04-01 16:55:08 -07:00
convenience
document
flashcache Adding another NewFlashcacheAwareEnv function to support pre-opened fd 2015-04-06 16:50:36 -07:00
geodb
leveldb_options
merge_operators
redis
spatialdb
ttl
write_batch_with_index Create an abstract interface for write batches 2015-03-17 19:23:08 -07:00
merge_operators.h