From: Sage Weil Date: Mon, 17 Aug 2015 19:22:13 +0000 (-0400) Subject: os/ObjectStore: drop sync_and_flush() X-Git-Tag: v9.1.0~324^2~19 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3516a285c0da4d5803f9d86c8e2e84768c44ae31;p=ceph.git os/ObjectStore: drop sync_and_flush() The semantics of this call were FileStore-specific; and there are no more callers. Signed-off-by: Sage Weil --- diff --git a/src/os/KeyValueStore.h b/src/os/KeyValueStore.h index a4a402837c4f..1e333429e9f9 100644 --- a/src/os/KeyValueStore.h +++ b/src/os/KeyValueStore.h @@ -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; } diff --git a/src/os/ObjectStore.h b/src/os/ObjectStore.h index 7120db8b3211..eac43d9a4f9d 100644 --- a/src/os/ObjectStore.h +++ b/src/os/ObjectStore.h @@ -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; }