CernVM-FS
2.12.0
|
#include "quota_posix.h"
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
#include <pthread.h>
#include <signal.h>
#include <stdint.h>
#include <sys/dir.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <sys/statvfs.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <limits>
#include <map>
#include <set>
#include <string>
#include <vector>
#include "crypto/hash.h"
#include "duplex_sqlite3.h"
#include "monitor.h"
#include "statistics.h"
#include "util/concurrency.h"
#include "util/exception.h"
#include "util/logging.h"
#include "util/platform.h"
#include "util/pointer.h"
#include "util/posix.h"
#include "util/smalloc.h"
#include "util/string.h"
Go to the source code of this file.
Macros | |
#define | __STDC_LIMIT_MACROS |
#define | __STDC_FORMAT_MACROS |
#define __STDC_FORMAT_MACROS |
Definition at line 16 of file quota_posix.cc.
#define __STDC_LIMIT_MACROS |
This file is part of the CernVM File System.
This module implements a "managed local cache". This way, we are able to track access times of files in the cache and remove files based on least recently used strategy.
We setup another SQLite catalog, a "cache catalog", that helps us in the bookkeeping of files, file sizes and access times.
We might choose to not manage the local cache. This is indicated by limit == 0 and everything succeeds in that case.
Definition at line 15 of file quota_posix.cc.