Module.cc
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3 *
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.
7 */
8
9#include "squid.h"
10#include "Module.h"
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"
14#endif
15
16#if HAVE_FS_UFS
18#endif
19
20#if HAVE_FS_AUFS
22#endif
23
24#if HAVE_FS_DISKD
26#endif
27
28#if HAVE_FS_ROCK
30static Rock::StoreFileSystem *RockInstance = nullptr;
31#endif
32
34{
35
36#if HAVE_FS_UFS
37 UfsInstance = new Fs::Ufs::StoreFSufs<Fs::Ufs::UFSSwapDir>("Blocking", "ufs");
38#endif
39
40#if HAVE_FS_AUFS
41 AufsInstance = new Fs::Ufs::StoreFSufs<Fs::Ufs::UFSSwapDir>("DiskThreads", "aufs");;
42#endif
43
44#if HAVE_FS_DISKD
45 DiskdInstance = new Fs::Ufs::StoreFSufs<Fs::Ufs::UFSSwapDir>("DiskDaemon", "diskd");;
46#endif
47
48#if HAVE_FS_ROCK
49 RockInstance = new Rock::StoreFileSystem();
50#endif
51
52}
53
void Init()
Definition: Module.cc:33

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors