]>
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/ufscommon.h"
9 #include "fs/coss/StoreFScoss.h"
13 static StoreFSufs
<UFSSwapDir
> *UfsInstance
;
17 static StoreFSufs
<UFSSwapDir
> *AufsInstance
;
22 static StoreFSufs
<UFSSwapDir
> *DiskdInstance
;
26 #include "fs/rock/RockStoreFileSystem.h"
27 static Rock::StoreFileSystem
*RockInstance
= NULL
;
31 /* TODO: Modify coss code to:
32 * (a) remove the StoreFScoss::GetInstance method,
33 * (b) declare the StoreFScoss::stats as static and
34 * (c) merge the StoreFScoss::stat() method with the static
35 * StoreFScoss::Stats() */
37 StoreFScoss
&CossInstance
= StoreFScoss::GetInstance();
45 UfsInstance
= new StoreFSufs
<UFSSwapDir
>("Blocking", "ufs");
49 AufsInstance
= new StoreFSufs
<UFSSwapDir
>("DiskThreads", "aufs");;
54 DiskdInstance
= new StoreFSufs
<UFSSwapDir
>("DiskDaemon", "diskd");;
58 RockInstance
= new Rock::StoreFileSystem();