mirror of
https://github.com/ceph/ceph
synced 2025-01-03 01:22:53 +00:00
filestore: fix logger start
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
This commit is contained in:
parent
daea03ef24
commit
53ad579e9e
@ -1675,6 +1675,8 @@ int FileStore::mount()
|
||||
|
||||
timer.init();
|
||||
|
||||
start_logger();
|
||||
|
||||
// all okay.
|
||||
return 0;
|
||||
|
||||
@ -1760,7 +1762,7 @@ int FileStore::get_max_object_name_length()
|
||||
return ret;
|
||||
}
|
||||
|
||||
void FileStore::start_logger(int whoami, utime_t tare)
|
||||
void FileStore::start_logger()
|
||||
{
|
||||
dout(10) << "start_logger" << dendl;
|
||||
assert(!logger);
|
||||
|
@ -243,7 +243,7 @@ class FileStore : public JournalingObjectStore,
|
||||
PerfCounters *logger;
|
||||
|
||||
public:
|
||||
void start_logger(int whoami, utime_t tare);
|
||||
void start_logger();
|
||||
void stop_logger();
|
||||
|
||||
int lfn_find(coll_t cid, const hobject_t& oid, IndexedPath *path);
|
||||
|
@ -643,8 +643,6 @@ public:
|
||||
|
||||
virtual void _fake_writes(bool b) {};
|
||||
virtual void _get_frag_stat(FragmentationStat& st) {};
|
||||
|
||||
virtual void start_logger(int whoami, utime_t tare) {};
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user