static Fs::Ufs::StoreFSufs<Fs::Ufs::UFSSwapDir> *AufsInstance;
#endif
-
#if HAVE_FS_DISKD
static Fs::Ufs::StoreFSufs<Fs::Ufs::UFSSwapDir> *DiskdInstance;
#endif
static Rock::StoreFileSystem *RockInstance = NULL;
#endif
-
/* TODO: Modify coss code to:
* (a) remove the StoreFScoss::GetInstance method,
* (b) declare the StoreFScoss::stats as static and
StoreFScoss &CossInstance = StoreFScoss::GetInstance();
#endif
-
void Fs::Init()
{
AufsInstance = new Fs::Ufs::StoreFSufs<Fs::Ufs::UFSSwapDir>("DiskThreads", "aufs");;
#endif
-
#if HAVE_FS_DISKD
DiskdInstance = new Fs::Ufs::StoreFSufs<Fs::Ufs::UFSSwapDir>("DiskDaemon", "diskd");;
#endif
}
-
void Fs::Clean()
{
#if HAVE_FS_UFS
delete AufsInstance;
#endif
-
#if HAVE_FS_DISKD
delete DiskdInstance;
#endif