]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/fs/Module.cc
7f9a89276d6bb96f5ec6661ff98784145941f471
2 * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
11 #if defined(HAVE_FS_UFS) || defined(HAVE_FS_AUFS) || defined(HAVE_FS_DISKD)
12 #include "fs/ufs/StoreFSufs.h"
13 #include "fs/ufs/UFSSwapDir.h"
17 static Fs::Ufs::StoreFSufs
<Fs::Ufs::UFSSwapDir
> *UfsInstance
;
21 static Fs::Ufs::StoreFSufs
<Fs::Ufs::UFSSwapDir
> *AufsInstance
;
25 static Fs::Ufs::StoreFSufs
<Fs::Ufs::UFSSwapDir
> *DiskdInstance
;
29 #include "fs/rock/RockStoreFileSystem.h"
30 static Rock::StoreFileSystem
*RockInstance
= NULL
;
37 UfsInstance
= new Fs::Ufs::StoreFSufs
<Fs::Ufs::UFSSwapDir
>("Blocking", "ufs");
41 AufsInstance
= new Fs::Ufs::StoreFSufs
<Fs::Ufs::UFSSwapDir
>("DiskThreads", "aufs");;
45 DiskdInstance
= new Fs::Ufs::StoreFSufs
<Fs::Ufs::UFSSwapDir
>("DiskDaemon", "diskd");;
49 RockInstance
= new Rock::StoreFileSystem();