Hermes
0.9.5-beta
Hierarchical Distributed I/O Buffering System
|
#include <buffer_pool.h>
Public Attributes | |
u8 * | shm_base |
ptrdiff_t | buffer_pool_offset |
ptrdiff_t | metadata_manager_offset |
u64 | shm_size |
BufferOrganizer * | bo |
std::vector< std::vector< std::string > > | buffering_filenames |
int | open_files [kMaxDevices][kMaxBufferPoolSlabs] |
FILE * | swap_file |
A structure to represent shared memory context
u8* hermes::SharedMemoryContext::shm_base |
A pointer to the beginning of shared memory.
ptrdiff_t hermes::SharedMemoryContext::buffer_pool_offset |
The offset from the beginning of shared memory to the BufferPool.
ptrdiff_t hermes::SharedMemoryContext::metadata_manager_offset |
The offset from the beginning of shared memory to the Metadata Arena.
u64 hermes::SharedMemoryContext::shm_size |
The total size of the shared memory (needed for munmap).
BufferOrganizer* hermes::SharedMemoryContext::bo |
This will only be valid on Hermes cores, and NULL on client cores.
std::vector<std::vector<std::string> > hermes::SharedMemoryContext::buffering_filenames |
vector of buffering file names
int hermes::SharedMemoryContext::open_files[kMaxDevices][kMaxBufferPoolSlabs] |
2D array of open files for each device and buffer pool slab
FILE* hermes::SharedMemoryContext::swap_file |
pointer to swap file