]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/BlueRocksEnv: remove unsupported rocksdb::Env methods 15058/head
authorHaomai Wang <haomai@xsky.com>
Fri, 12 May 2017 01:16:49 +0000 (09:16 +0800)
committerHaomai Wang <haomai@xsky.com>
Fri, 12 May 2017 02:38:07 +0000 (10:38 +0800)
upstream:
https://github.com/facebook/rocksdb/commit/cdad04b0512ae2c7ee4d62961b71e5dd25955726

Signed-off-by: Haomai Wang <haomai@xsky.com>
src/os/bluestore/BlueRocksEnv.cc

index 3fcccc861dd3b50760d26b99ac44aa0972c03954..1b1e2e903572f918ee0df75ba6ae5a3314e13181 100644 (file)
@@ -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