mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
os/newstore: drop sync_and_flush
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
28bc4ee76e
commit
f93856f71a
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user