|
|
@ -62,6 +62,13 @@ void PrintExceptionContinue(const std::exception *pex, const char* pszThread);
|
|
|
|
* feature analogous to fsync().
|
|
|
|
* feature analogous to fsync().
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
bool FileCommit(FILE *file);
|
|
|
|
bool FileCommit(FILE *file);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Sync directory contents. This is required on some environments to ensure that
|
|
|
|
|
|
|
|
* newly created files are committed to disk.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
void DirectoryCommit(const fs::path &dirname);
|
|
|
|
|
|
|
|
|
|
|
|
bool TruncateFile(FILE *file, unsigned int length);
|
|
|
|
bool TruncateFile(FILE *file, unsigned int length);
|
|
|
|
int RaiseFileDescriptorLimit(int nMinFD);
|
|
|
|
int RaiseFileDescriptorLimit(int nMinFD);
|
|
|
|
void AllocateFileRange(FILE *file, unsigned int offset, unsigned int length);
|
|
|
|
void AllocateFileRange(FILE *file, unsigned int offset, unsigned int length);
|
|
|
|