OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
File_Namespace::FileInfo Struct Reference

#include <FileInfo.h>

+ Collaboration diagram for File_Namespace::FileInfo:

Public Member Functions

 FileInfo (FileMgr *fileMgr, const int32_t fileId, FILE *f, const size_t pageSize, const size_t numPages, const bool init=false)
 Constructor. More...
 
 ~FileInfo ()
 Destructor. More...
 
void initNewFile ()
 Adds all pages to freePages and zeroes first four bytes of header. More...
 
void freePageDeferred (int32_t pageId)
 
void freePage (int32_t pageId, const bool isRolloff, int32_t epoch)
 
int32_t getFreePage ()
 
size_t write (const size_t offset, const size_t size, const int8_t *buf)
 
size_t read (const size_t offset, const size_t size, int8_t *buf)
 
void openExistingFile (std::vector< HeaderInfo > &headerVec)
 
void print (bool pagesummary)
 Prints a summary of the file to stdout. More...
 
size_t size () const
 Returns the number of bytes used by the file. More...
 
int32_t syncToDisk ()
 
size_t available ()
 Returns the number of free bytes available. More...
 
size_t numFreePages ()
 Returns the number of free pages available. More...
 
size_t used ()
 Returns the amount of used bytes; size() - available() More...
 
void freePageImmediate (int32_t page_num)
 
void recoverPage (const ChunkKey &chunk_key, int32_t page_num)
 

Public Attributes

FileMgrfileMgr
 
int32_t fileId
 
FILE * f
 unique file identifier (i.e., used for a file name) More...
 
size_t pageSize
 file stream object for the represented file More...
 
size_t numPages
 the fixed size of each page in the file More...
 
bool isDirty {false}
 the number of pages in the file More...
 
std::set< size_t > freePages
 
std::mutex freePagesMutex_
 set of page numbers of free pages More...
 
std::mutex readWriteMutex_
 

Detailed Description

Definition at line 55 of file FileInfo.h.

Constructor & Destructor Documentation

File_Namespace::FileInfo::FileInfo ( FileMgr fileMgr,
const int32_t  fileId,
FILE *  f,
const size_t  pageSize,
const size_t  numPages,
const bool  init = false 
)

Constructor.

Definition at line 28 of file FileInfo.cpp.

References initNewFile().

35  if (init) {
36  initNewFile();
37  }
38 }
size_t pageSize
file stream object for the represented file
Definition: FileInfo.h:59
void init(LogOptions const &log_opts)
Definition: Logger.cpp:290
void initNewFile()
Adds all pages to freePages and zeroes first four bytes of header.
Definition: FileInfo.cpp:47
FILE * f
unique file identifier (i.e., used for a file name)
Definition: FileInfo.h:58
size_t numPages
the fixed size of each page in the file
Definition: FileInfo.h:60

+ Here is the call graph for this function:

File_Namespace::FileInfo::~FileInfo ( )

Destructor.

Definition at line 40 of file FileInfo.cpp.

References File_Namespace::close(), and f.

40  {
41  // close file, if applicable
42  if (f) {
43  close(f);
44  }
45 }
FILE * f
unique file identifier (i.e., used for a file name)
Definition: FileInfo.h:58
void close(FILE *f)
Closes the file pointed to by the FILE pointer.
Definition: File.cpp:119

+ Here is the call graph for this function:

Member Function Documentation

size_t File_Namespace::FileInfo::available ( )
inline

Returns the number of free bytes available.

Definition at line 99 of file FileInfo.h.

References freePages, and pageSize.

Referenced by print(), and used().

99 { return freePages.size() * pageSize; }
std::set< size_t > freePages
Definition: FileInfo.h:62
size_t pageSize
file stream object for the represented file
Definition: FileInfo.h:59

+ Here is the caller graph for this function:

void File_Namespace::FileInfo::freePage ( int32_t  pageId,
const bool  isRolloff,
int32_t  epoch 
)

Definition at line 178 of file FileInfo.cpp.

References CHECK, File_Namespace::DELETE_CONTINGENT, f, fileMgr, File_Namespace::FileMgr::free_page(), isDirty, pageSize, readWriteMutex_, File_Namespace::ROLLOFF_CONTINGENT, and File_Namespace::write().

Referenced by File_Namespace::FileBuffer::freePage(), and File_Namespace::CachingFileMgr::updatePageIfDeleted().

178  {
179  std::lock_guard<std::mutex> lock(readWriteMutex_);
180  int32_t epoch_freed_page[2] = {DELETE_CONTINGENT, epoch};
181  if (isRolloff) {
182  epoch_freed_page[0] = ROLLOFF_CONTINGENT;
183  }
185  pageId * pageSize + sizeof(int32_t),
186  sizeof(epoch_freed_page),
187  reinterpret_cast<const int8_t*>(epoch_freed_page));
188  fileMgr->free_page(std::make_pair(this, pageId));
189  isDirty = true;
190 
191 #ifdef ENABLE_CRASH_CORRUPTION_TEST
192  signal(SIGUSR2, sighandler);
193  if (goto_crash)
194  CHECK(pageId % 8 != 4);
195 #endif
196 }
std::mutex readWriteMutex_
Definition: FileInfo.h:64
size_t write(FILE *f, const size_t offset, const size_t size, const int8_t *buf)
Writes the specified number of bytes to the offset position in file f from buf.
Definition: File.cpp:141
size_t pageSize
file stream object for the represented file
Definition: FileInfo.h:59
constexpr int32_t DELETE_CONTINGENT
A FileInfo type has a file pointer and metadata about a file.
Definition: FileInfo.h:51
constexpr int32_t ROLLOFF_CONTINGENT
Definition: FileInfo.h:52
virtual void free_page(std::pair< FileInfo *, int32_t > &&page)
Definition: FileMgr.cpp:1133
FILE * f
unique file identifier (i.e., used for a file name)
Definition: FileInfo.h:58
#define CHECK(condition)
Definition: Logger.h:209
bool isDirty
the number of pages in the file
Definition: FileInfo.h:61

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void File_Namespace::FileInfo::freePageDeferred ( int32_t  pageId)

Definition at line 163 of file FileInfo.cpp.

References freePages, and freePagesMutex_.

Referenced by freePageImmediate().

163  {
164  std::lock_guard<std::mutex> lock(freePagesMutex_);
165  freePages.insert(pageId);
166 }
std::set< size_t > freePages
Definition: FileInfo.h:62
std::mutex freePagesMutex_
set of page numbers of free pages
Definition: FileInfo.h:63

+ Here is the caller graph for this function:

void File_Namespace::FileInfo::freePageImmediate ( int32_t  page_num)

Definition at line 239 of file FileInfo.cpp.

References f, freePageDeferred(), g_read_only, pageSize, and File_Namespace::write().

Referenced by openExistingFile(), and File_Namespace::FileMgr::updatePageIfDeleted().

239  {
240  // we should not get here but putting protection in place
241  // as it seems we are no guaranteed to have f/synced so
242  // protecting from RO trying to write
243  if (!g_read_only) {
244  int32_t zero{0};
246  f, page_num * pageSize, sizeof(int32_t), reinterpret_cast<const int8_t*>(&zero));
247  freePageDeferred(page_num);
248  }
249 }
size_t write(FILE *f, const size_t offset, const size_t size, const int8_t *buf)
Writes the specified number of bytes to the offset position in file f from buf.
Definition: File.cpp:141
size_t pageSize
file stream object for the represented file
Definition: FileInfo.h:59
bool g_read_only
Definition: File.cpp:38
FILE * f
unique file identifier (i.e., used for a file name)
Definition: FileInfo.h:58
void freePageDeferred(int32_t pageId)
Definition: FileInfo.cpp:163

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int32_t File_Namespace::FileInfo::getFreePage ( )

Definition at line 198 of file FileInfo.cpp.

References freePages, and freePagesMutex_.

Referenced by File_Namespace::FileMgr::copySourcePageForCompaction(), File_Namespace::FileMgr::requestFreePage(), File_Namespace::CachingFileMgr::requestFreePage(), and File_Namespace::FileMgr::requestFreePages().

198  {
199  // returns -1 if there is no free page
200  std::lock_guard<std::mutex> lock(freePagesMutex_);
201  if (freePages.size() == 0) {
202  return -1;
203  }
204  auto pageIt = freePages.begin();
205  int32_t pageNum = *pageIt;
206  freePages.erase(pageIt);
207  return pageNum;
208 }
std::set< size_t > freePages
Definition: FileInfo.h:62
std::mutex freePagesMutex_
set of page numbers of free pages
Definition: FileInfo.h:63

+ Here is the caller graph for this function:

void File_Namespace::FileInfo::initNewFile ( )

Adds all pages to freePages and zeroes first four bytes of header.

Definition at line 47 of file FileInfo.cpp.

References f, freePages, isDirty, numPages, pageSize, and File_Namespace::write().

Referenced by FileInfo().

47  {
48  // initialize pages and free page list
49  // Also zeroes out first four bytes of every header
50 
51  int32_t headerSize = 0;
52  int8_t* headerSizePtr = (int8_t*)(&headerSize);
53  for (size_t pageId = 0; pageId < numPages; ++pageId) {
54  File_Namespace::write(f, pageId * pageSize, sizeof(int32_t), headerSizePtr);
55  freePages.insert(pageId);
56  }
57  isDirty = true;
58 }
size_t write(FILE *f, const size_t offset, const size_t size, const int8_t *buf)
Writes the specified number of bytes to the offset position in file f from buf.
Definition: File.cpp:141
std::set< size_t > freePages
Definition: FileInfo.h:62
size_t pageSize
file stream object for the represented file
Definition: FileInfo.h:59
FILE * f
unique file identifier (i.e., used for a file name)
Definition: FileInfo.h:58
size_t numPages
the fixed size of each page in the file
Definition: FileInfo.h:60
bool isDirty
the number of pages in the file
Definition: FileInfo.h:61

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

size_t File_Namespace::FileInfo::numFreePages ( )
inline

Returns the number of free pages available.

Definition at line 102 of file FileInfo.h.

References freePages, and freePagesMutex_.

102  {
103  std::lock_guard<std::mutex> lock(freePagesMutex_);
104  return freePages.size();
105  }
std::set< size_t > freePages
Definition: FileInfo.h:62
std::mutex freePagesMutex_
set of page numbers of free pages
Definition: FileInfo.h:63
void File_Namespace::FileInfo::openExistingFile ( std::vector< HeaderInfo > &  headerVec)

Definition at line 71 of file FileInfo.cpp.

References CHECK_EQ, CHECK_GE, CHUNK_KEY_DB_IDX, CHUNK_KEY_TABLE_IDX, File_Namespace::FileMgr::epoch(), f, fileId, fileMgr, freePageImmediate(), freePages, g_read_only, LOG, numPages, pageSize, show_chunk(), File_Namespace::FileMgr::updatePageIfDeleted(), VLOG, and logger::WARNING.

Referenced by File_Namespace::FileMgr::openExistingFile().

71  {
72  // HeaderInfo is defined in Page.h
73 
74  // Oct 2020: Changing semantics such that fileMgrEpoch should be last checkpointed
75  // epoch, not incremented epoch. This changes some of the gt/gte/lt/lte comparison below
76  ChunkKey oldChunkKey(4);
77  int32_t oldPageId = -99;
78  int32_t oldVersionEpoch = -99;
79  int32_t skipped = 0;
80  for (size_t pageNum = 0; pageNum < numPages; ++pageNum) {
81  constexpr size_t MAX_INTS_TO_READ{10}; // currently use 1+6 ints
82  int32_t ints[MAX_INTS_TO_READ];
83  CHECK_EQ(fseek(f, pageNum * pageSize, SEEK_SET), 0);
84  CHECK_EQ(fread(ints, sizeof(int32_t), MAX_INTS_TO_READ, f), MAX_INTS_TO_READ);
85 
86  auto headerSize = ints[0];
87  if (headerSize == 0) {
88  // no header for this page - insert into free list
89  freePages.insert(pageNum);
90  continue;
91  }
92 
93  // headerSize doesn't include headerSize itself
94  // We're tying ourself to headers of ints here
95  size_t numHeaderElems = headerSize / sizeof(int32_t);
96  CHECK_GE(numHeaderElems, size_t(2));
97  // We don't want to read headerSize in our header - so start
98  // reading 4 bytes past it
99  ChunkKey chunkKey(&ints[1], &ints[1 + numHeaderElems - 2]);
100  if (fileMgr->updatePageIfDeleted(this, chunkKey, ints[1], ints[2], pageNum)) {
101  continue;
102  }
103  // Last two elements of header are always PageId and Version
104  // epoch - these are not in the chunk key so seperate them
105  int32_t pageId = ints[1 + numHeaderElems - 2];
106  int32_t versionEpoch = ints[1 + numHeaderElems - 1];
107  if (chunkKey != oldChunkKey || oldPageId != pageId - (1 + skipped)) {
108  if (skipped > 0) {
109  VLOG(4) << "FId.PSz: " << fileId << "." << pageSize
110  << " Chunk key: " << show_chunk(oldChunkKey)
111  << " Page id from : " << oldPageId << " to : " << oldPageId + skipped
112  << " Epoch: " << oldVersionEpoch;
113  } else if (oldPageId != -99) {
114  VLOG(4) << "FId.PSz: " << fileId << "." << pageSize
115  << " Chunk key: " << show_chunk(oldChunkKey) << " Page id: " << oldPageId
116  << " Epoch: " << oldVersionEpoch;
117  }
118  oldPageId = pageId;
119  oldVersionEpoch = versionEpoch;
120  oldChunkKey = chunkKey;
121  skipped = 0;
122  } else {
123  skipped++;
124  }
125 
126  /* Check if version epoch is equal to
127  * or greater (note: should never be greater)
128  * than FileMgr epoch_ - this means that this
129  * page wasn't checkpointed and thus we should
130  * not use it
131  */
132  int32_t fileMgrEpoch =
133  fileMgr->epoch(chunkKey[CHUNK_KEY_DB_IDX], chunkKey[CHUNK_KEY_TABLE_IDX]);
134  if (versionEpoch > fileMgrEpoch) {
135  // First write 0 to first four bytes of
136  // header to mark as free
137  if (!g_read_only) {
138  freePageImmediate(pageNum);
139  }
140  LOG(WARNING) << "Was not checkpointed: Chunk key: " << show_chunk(chunkKey)
141  << " Page id: " << pageId << " Epoch: " << versionEpoch
142  << " FileMgrEpoch " << fileMgrEpoch << endl;
143  } else { // page was checkpointed properly
144  Page page(fileId, pageNum);
145  headerVec.emplace_back(chunkKey, pageId, versionEpoch, page);
146  }
147  }
148  // printlast
149  if (oldPageId != -99) {
150  if (skipped > 0) {
151  VLOG(4) << "FId.PSz: " << fileId << "." << pageSize
152  << " Chunk key: " << show_chunk(oldChunkKey)
153  << " Page id from : " << oldPageId << " to : " << oldPageId + skipped
154  << " Epoch: " << oldVersionEpoch;
155  } else {
156  VLOG(4) << "FId.PSz: " << fileId << "." << pageSize
157  << " Chunk key: " << show_chunk(oldChunkKey) << " Page id: " << oldPageId
158  << " Epoch: " << oldVersionEpoch;
159  }
160  }
161 }
virtual int32_t epoch(int32_t db_id, int32_t tb_id) const
Returns current value of epoch - should be one greater than recorded at last checkpoint. Because FileMgr only contains buffers from one table we can just return the FileMgr&#39;s epoch instead of finding a table-specific epoch.
Definition: FileMgr.h:271
#define CHECK_EQ(x, y)
Definition: Logger.h:217
std::vector< int > ChunkKey
Definition: types.h:37
#define LOG(tag)
Definition: Logger.h:203
#define CHUNK_KEY_DB_IDX
Definition: types.h:39
void freePageImmediate(int32_t page_num)
Definition: FileInfo.cpp:239
#define CHECK_GE(x, y)
Definition: Logger.h:222
virtual bool updatePageIfDeleted(FileInfo *file_info, ChunkKey &chunk_key, int32_t contingent, int32_t page_epoch, int32_t page_num)
deletes or recovers a page based on last checkpointed epoch.
Definition: FileMgr.cpp:1546
std::string show_chunk(const ChunkKey &key)
Definition: types.h:86
std::set< size_t > freePages
Definition: FileInfo.h:62
size_t pageSize
file stream object for the represented file
Definition: FileInfo.h:59
#define CHUNK_KEY_TABLE_IDX
Definition: types.h:40
bool g_read_only
Definition: File.cpp:38
FILE * f
unique file identifier (i.e., used for a file name)
Definition: FileInfo.h:58
size_t numPages
the fixed size of each page in the file
Definition: FileInfo.h:60
#define VLOG(n)
Definition: Logger.h:303

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void File_Namespace::FileInfo::print ( bool  pagesummary)

Prints a summary of the file to stdout.

Definition at line 210 of file FileInfo.cpp.

References available(), fileId, size(), and used().

210  {
211  std::cout << "File: " << fileId << std::endl;
212  std::cout << "Size: " << size() << std::endl;
213  std::cout << "Used: " << used() << std::endl;
214  std::cout << "Free: " << available() << std::endl;
215  if (!pagesummary) {
216  return;
217  }
218 }
size_t size() const
Returns the number of bytes used by the file.
Definition: FileInfo.h:92
size_t used()
Returns the amount of used bytes; size() - available()
Definition: FileInfo.h:108
size_t available()
Returns the number of free bytes available.
Definition: FileInfo.h:99

+ Here is the call graph for this function:

size_t File_Namespace::FileInfo::read ( const size_t  offset,
const size_t  size,
int8_t *  buf 
)

Definition at line 66 of file FileInfo.cpp.

References f, File_Namespace::read(), and readWriteMutex_.

Referenced by File_Namespace::FileBuffer::copyPage(), File_Namespace::FileMgr::copyPage(), File_Namespace::FileMgr::copyPageWithoutHeaderSize(), and File_Namespace::readForThread().

66  {
67  std::lock_guard<std::mutex> lock(readWriteMutex_);
68  return File_Namespace::read(f, offset, size, buf);
69 }
std::mutex readWriteMutex_
Definition: FileInfo.h:64
size_t read(FILE *f, const size_t offset, const size_t size, int8_t *buf)
Reads the specified number of bytes from the offset position in file f into buf.
Definition: File.cpp:133
size_t size() const
Returns the number of bytes used by the file.
Definition: FileInfo.h:92
FILE * f
unique file identifier (i.e., used for a file name)
Definition: FileInfo.h:58

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void File_Namespace::FileInfo::recoverPage ( const ChunkKey chunk_key,
int32_t  page_num 
)

Definition at line 252 of file FileInfo.cpp.

References f, g_read_only, pageSize, and File_Namespace::write().

Referenced by File_Namespace::FileMgr::updatePageIfDeleted().

252  {
253  // we should not get here but putting protection in place
254  // as it seems we are no guaranteed to have f/synced so
255  // protecting from RO trying to write
256  if (!g_read_only) {
258  page_num * pageSize + sizeof(int32_t),
259  2 * sizeof(int32_t),
260  reinterpret_cast<const int8_t*>(chunk_key.data()));
261  }
262 }
size_t write(FILE *f, const size_t offset, const size_t size, const int8_t *buf)
Writes the specified number of bytes to the offset position in file f from buf.
Definition: File.cpp:141
size_t pageSize
file stream object for the represented file
Definition: FileInfo.h:59
bool g_read_only
Definition: File.cpp:38
FILE * f
unique file identifier (i.e., used for a file name)
Definition: FileInfo.h:58

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

size_t File_Namespace::FileInfo::size ( ) const
inline

Returns the number of bytes used by the file.

Definition at line 92 of file FileInfo.h.

References numPages, and pageSize.

Referenced by print(), and used().

92 { return pageSize * numPages; }
size_t pageSize
file stream object for the represented file
Definition: FileInfo.h:59
size_t numPages
the fixed size of each page in the file
Definition: FileInfo.h:60

+ Here is the caller graph for this function:

int32_t File_Namespace::FileInfo::syncToDisk ( )

Syncs file to disk via a buffer flush and then a sync (fflush and fsync on posix systems)

Definition at line 219 of file FileInfo.cpp.

References f, logger::FATAL, omnisci::fsync(), isDirty, LOG, and readWriteMutex_.

219  {
220  std::lock_guard<std::mutex> lock(readWriteMutex_);
221  if (isDirty) {
222  if (fflush(f) != 0) {
223  LOG(FATAL) << "Error trying to flush changes to disk, the error was: "
224  << std::strerror(errno);
225  }
226 #ifdef __APPLE__
227  const int32_t sync_result = fcntl(fileno(f), 51);
228 #else
229  const int32_t sync_result = omnisci::fsync(fileno(f));
230 #endif
231  if (sync_result == 0) {
232  isDirty = false;
233  }
234  return sync_result;
235  }
236  return 0; // if file was not dirty and no syncing was needed
237 }
#define LOG(tag)
Definition: Logger.h:203
std::mutex readWriteMutex_
Definition: FileInfo.h:64
int fsync(int fd)
Definition: omnisci_fs.cpp:60
FILE * f
unique file identifier (i.e., used for a file name)
Definition: FileInfo.h:58
bool isDirty
the number of pages in the file
Definition: FileInfo.h:61

+ Here is the call graph for this function:

size_t File_Namespace::FileInfo::used ( )
inline

Returns the amount of used bytes; size() - available()

Definition at line 108 of file FileInfo.h.

References available(), and size().

Referenced by print().

108 { return size() - available(); }
size_t size() const
Returns the number of bytes used by the file.
Definition: FileInfo.h:92
size_t available()
Returns the number of free bytes available.
Definition: FileInfo.h:99

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

size_t File_Namespace::FileInfo::write ( const size_t  offset,
const size_t  size,
const int8_t *  buf 
)

Definition at line 60 of file FileInfo.cpp.

References f, isDirty, readWriteMutex_, and File_Namespace::write().

Referenced by File_Namespace::FileBuffer::append(), File_Namespace::FileBuffer::copyPage(), File_Namespace::FileMgr::copyPage(), File_Namespace::FileMgr::copyPageWithoutHeaderSize(), File_Namespace::FileBuffer::write(), and File_Namespace::FileBuffer::writeHeader().

60  {
61  std::lock_guard<std::mutex> lock(readWriteMutex_);
62  isDirty = true;
63  return File_Namespace::write(f, offset, size, buf);
64 }
std::mutex readWriteMutex_
Definition: FileInfo.h:64
size_t write(FILE *f, const size_t offset, const size_t size, const int8_t *buf)
Writes the specified number of bytes to the offset position in file f from buf.
Definition: File.cpp:141
size_t size() const
Returns the number of bytes used by the file.
Definition: FileInfo.h:92
FILE * f
unique file identifier (i.e., used for a file name)
Definition: FileInfo.h:58
bool isDirty
the number of pages in the file
Definition: FileInfo.h:61

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

FILE* File_Namespace::FileInfo::f

unique file identifier (i.e., used for a file name)

Definition at line 58 of file FileInfo.h.

Referenced by freePage(), freePageImmediate(), initNewFile(), openExistingFile(), read(), recoverPage(), syncToDisk(), write(), and ~FileInfo().

FileMgr* File_Namespace::FileInfo::fileMgr

Definition at line 56 of file FileInfo.h.

Referenced by freePage(), and openExistingFile().

std::set<size_t> File_Namespace::FileInfo::freePages
std::mutex File_Namespace::FileInfo::freePagesMutex_

set of page numbers of free pages

Definition at line 63 of file FileInfo.h.

Referenced by freePageDeferred(), getFreePage(), and numFreePages().

bool File_Namespace::FileInfo::isDirty {false}

the number of pages in the file

Definition at line 61 of file FileInfo.h.

Referenced by freePage(), initNewFile(), syncToDisk(), and write().

size_t File_Namespace::FileInfo::numPages

the fixed size of each page in the file

Definition at line 60 of file FileInfo.h.

Referenced by initNewFile(), openExistingFile(), and size().

size_t File_Namespace::FileInfo::pageSize

file stream object for the represented file

Definition at line 59 of file FileInfo.h.

Referenced by available(), File_Namespace::FileMgr::copyPageWithoutHeaderSize(), freePage(), freePageImmediate(), initNewFile(), openExistingFile(), recoverPage(), and size().

std::mutex File_Namespace::FileInfo::readWriteMutex_

Definition at line 64 of file FileInfo.h.

Referenced by freePage(), read(), syncToDisk(), and write().


The documentation for this struct was generated from the following files: