filestore: fix logger start

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
This commit is contained in:
Sage Weil 2011-10-20 10:59:03 -07:00
parent daea03ef24
commit 53ad579e9e
3 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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) {};
};