os/newstore: drop sync_and_flush

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2015-08-17 15:22:26 -04:00
parent 28bc4ee76e
commit f93856f71a
2 changed files with 2 additions and 8 deletions

View File

@ -975,7 +975,7 @@ int NewStore::umount()
assert(mounted);
dout(1) << __func__ << dendl;
sync_and_flush();
sync();
_reap_collections();
dout(20) << __func__ << " stopping fsync_wq" << dendl;
@ -1003,17 +1003,12 @@ void NewStore::sync(Context *onsync)
#warning write sync
}
void NewStore::sync()
{
#warning write sync
}
void NewStore::flush()
{
#warning write flush
}
void NewStore::sync_and_flush()
void NewStore::sync()
{
dout(10) << __func__ << dendl;

View File

@ -473,7 +473,6 @@ public:
void sync(Context *onsync);
void sync();
void flush();
void sync_and_flush();
unsigned get_max_object_name_length() {
return 4096;