Storage Engine API
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
file_allocator.cpp File Reference
#include "mongo/platform/basic.h"
#include "mongo/db/storage/mmap_v1/file_allocator.h"
#include <boost/filesystem/operations.hpp>
#include <errno.h>
#include <fcntl.h>
#include "mongo/db/storage/mmap_v1/paths.h"
#include "mongo/platform/posix_fadvise.h"
#include "mongo/stdx/functional.h"
#include "mongo/stdx/thread.h"
#include "mongo/util/concurrency/idle_thread_block.h"
#include "mongo/util/concurrency/thread_name.h"
#include "mongo/util/fail_point.h"
#include "mongo/util/fail_point_service.h"
#include "mongo/util/log.h"
#include "mongo/util/mongoutils/str.h"
#include "mongo/util/processinfo.h"
#include "mongo/util/text.h"
#include "mongo/util/time_support.h"
#include "mongo/util/timer.h"

Namespaces

 mongo
 Copyright (C) 2014 MongoDB Inc.
 

Macros

#define MONGO_LOG_DEFAULT_COMPONENT   ::mongo::logger::LogComponent::kStorage
 
#define O_NOATIME   (0)
 

Functions

 mongo::MONGO_FAIL_POINT_DEFINE (allocateDiskFull)
 
boost::filesystem::path mongo::ensureParentDirCreated (const boost::filesystem::path &p)
 Aliases for Win32 CRT functions. More...
 
static bool mongo::useSparseFiles (int fd)
 

Variables

static SimpleMutex mongo::_uniqueNumberMutex
 

Macro Definition Documentation

◆ MONGO_LOG_DEFAULT_COMPONENT

#define MONGO_LOG_DEFAULT_COMPONENT   ::mongo::logger::LogComponent::kStorage

◆ O_NOATIME

#define O_NOATIME   (0)