From: Haomai Wang Date: Fri, 12 May 2017 01:16:49 +0000 (+0800) Subject: os/BlueRocksEnv: remove unsupported rocksdb::Env methods X-Git-Tag: v12.1.0~57^2~5^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1b5fb3ac5b0a37f72c9b1c4bd351c445f7992ad6;p=ceph.git os/BlueRocksEnv: remove unsupported rocksdb::Env methods upstream: https://github.com/facebook/rocksdb/commit/cdad04b0512ae2c7ee4d62961b71e5dd25955726 Signed-off-by: Haomai Wang --- diff --git a/src/os/bluestore/BlueRocksEnv.cc b/src/os/bluestore/BlueRocksEnv.cc index 3fcccc861dd3..1b1e2e903572 100644 --- a/src/os/bluestore/BlueRocksEnv.cc +++ b/src/os/bluestore/BlueRocksEnv.cc @@ -97,16 +97,6 @@ class BlueRocksRandomAccessFile : public rocksdb::RandomAccessFile { return rocksdb::Status::OK(); } - // Used by the file_reader_writer to decide if the ReadAhead wrapper - // should simply forward the call and do not enact buffering or locking. - bool ShouldForwardRawRequest() const override { - return false; - } - - // For cases when read-ahead is implemented in the platform dependent - // layer - void EnableReadAhead() override {} - // Tries to get an unique ID for this file that will be the same each time // the file is opened (and will stay the same while the file is open). // Furthermore, it tries to make this ID at most "max_size" bytes. If such an