]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/fs/Module.cc
3 #if defined(HAVE_FS_UFS) || defined(HAVE_FS_AUFS) || defined(HAVE_FS_DISKD)
4 #include "fs/ufs/StoreFSufs.h"
5 #include "fs/ufs/UFSSwapDir.h"
9 #include "fs/coss/StoreFScoss.h"
13 static Fs::Ufs::StoreFSufs
<Fs::Ufs::UFSSwapDir
> *UfsInstance
;
17 static Fs::Ufs::StoreFSufs
<Fs::Ufs::UFSSwapDir
> *AufsInstance
;
21 static Fs::Ufs::StoreFSufs
<Fs::Ufs::UFSSwapDir
> *DiskdInstance
;
25 #include "fs/rock/RockStoreFileSystem.h"
26 static Rock::StoreFileSystem
*RockInstance
= NULL
;
29 /* TODO: Modify coss code to:
30 * (a) remove the StoreFScoss::GetInstance method,
31 * (b) declare the StoreFScoss::stats as static and
32 * (c) merge the StoreFScoss::stat() method with the static
33 * StoreFScoss::Stats() */
35 StoreFScoss
&CossInstance
= StoreFScoss::GetInstance();
42 UfsInstance
= new Fs::Ufs::StoreFSufs
<Fs::Ufs::UFSSwapDir
>("Blocking", "ufs");
46 AufsInstance
= new Fs::Ufs::StoreFSufs
<Fs::Ufs::UFSSwapDir
>("DiskThreads", "aufs");;
50 DiskdInstance
= new Fs::Ufs::StoreFSufs
<Fs::Ufs::UFSSwapDir
>("DiskDaemon", "diskd");;
54 RockInstance
= new Rock::StoreFileSystem();