]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/newstore: drop sync()
authorSage Weil <sage@redhat.com>
Mon, 17 Aug 2015 19:23:03 +0000 (15:23 -0400)
committerSage Weil <sage@redhat.com>
Tue, 1 Sep 2015 17:39:37 +0000 (13:39 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/os/newstore/NewStore.cc
src/os/newstore/NewStore.h

index aec8e0d40d514a8c9e00095f16ef1383ecb87ed3..d73447ad0cdbabbecb6e69b0e85c250ded63e1c0 100644 (file)
@@ -975,7 +975,7 @@ int NewStore::umount()
   assert(mounted);
   dout(1) << __func__ << dendl;
 
-  sync();
+  _sync();
   _reap_collections();
 
   dout(20) << __func__ << " stopping fsync_wq" << dendl;
@@ -1003,7 +1003,7 @@ void NewStore::sync(Context *onsync)
 #warning write sync
 }
 
-void NewStore::sync()
+void NewStore::_sync()
 {
   dout(10) << __func__ << dendl;
 
index a906e3d7fef282a1574b26c4addba65738ea4e57..eb302b9aac692f77080f62146ef453877fcf40b7 100644 (file)
@@ -469,9 +469,9 @@ public:
 
   int mount();
   int umount();
+  void _sync();
 
   void sync(Context *onsync);
-  void sync();
 
   unsigned get_max_object_name_length() {
     return 4096;