]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/ObjectStore: drop sync_and_flush()
authorSage Weil <sage@redhat.com>
Mon, 17 Aug 2015 19:22:13 +0000 (15:22 -0400)
committerSage Weil <sage@redhat.com>
Wed, 19 Aug 2015 21:03:56 +0000 (17:03 -0400)
The semantics of this call were FileStore-specific; and there are no more
callers.

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/KeyValueStore.h
src/os/ObjectStore.h

index a4a402837c4f9f19dbde19a4a6f17bd5f44dd5b9..1e333429e9f952517ea279941567ad504a0c12f5 100644 (file)
@@ -594,7 +594,6 @@ class KeyValueStore : public ObjectStore,
   void sync() {}
   using ObjectStore::sync;
   void flush() {}
-  void sync_and_flush() {}
 
   void set_fsid(uuid_d u) { fsid = u; }
   uuid_d get_fsid() { return fsid; }
index 7120db8b3211dae54d23b6faf7835947369f9849..eac43d9a4f9d68fca4552754f16f4e5c2912d492 100644 (file)
@@ -2102,7 +2102,6 @@ public:
   virtual void flush() {}
 
   virtual int flush_journal() { return -EOPNOTSUPP; }
-  virtual void sync_and_flush() {}
 
   virtual int dump_journal(ostream& out) { return -EOPNOTSUPP; }