From: Sage Weil Date: Mon, 17 Aug 2015 19:23:03 +0000 (-0400) Subject: os/newstore: drop sync() X-Git-Tag: v9.1.0~242^2~71 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d57547f1035b9b41c07c6ec49b7c119a117e6bea;p=ceph.git os/newstore: drop sync() Signed-off-by: Sage Weil --- diff --git a/src/os/newstore/NewStore.cc b/src/os/newstore/NewStore.cc index aec8e0d40d514..d73447ad0cdba 100644 --- a/src/os/newstore/NewStore.cc +++ b/src/os/newstore/NewStore.cc @@ -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; diff --git a/src/os/newstore/NewStore.h b/src/os/newstore/NewStore.h index a906e3d7fef28..eb302b9aac692 100644 --- a/src/os/newstore/NewStore.h +++ b/src/os/newstore/NewStore.h @@ -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;