From 1b5fb3ac5b0a37f72c9b1c4bd351c445f7992ad6 Mon Sep 17 00:00:00 2001 From: Haomai Wang Date: Fri, 12 May 2017 09:16:49 +0800 Subject: [PATCH] os/BlueRocksEnv: remove unsupported rocksdb::Env methods upstream: https://github.com/facebook/rocksdb/commit/cdad04b0512ae2c7ee4d62961b71e5dd25955726 Signed-off-by: Haomai Wang --- src/os/bluestore/BlueRocksEnv.cc | 10 ---------- 1 file changed, 10 deletions(-) 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 -- 2.47.3