CernVM-FS
2.12.0
|
#include <glue_buffer.h>
Public Member Functions | |
OpenDirectives () | |
OpenDirectives (bool k, bool d) | |
Public Attributes | |
bool | keep_cache |
bool | direct_io |
Instruct cvmfs_open() on how to handle the page cache.
Definition at line 965 of file glue_buffer.h.
|
inline |
Definition at line 982 of file glue_buffer.h.
|
inline |
Definition at line 984 of file glue_buffer.h.
bool glue::PageCacheTracker::OpenDirectives::direct_io |
Don't use the page cache at all (neither write nor read). If this is set on cvmfs_open(), don't call Close() on cvmfs_close(). Direct I/O prevents shared mmap on the file. Private mmap, however, which includes loading binaries, still works.
Definition at line 978 of file glue_buffer.h.
Referenced by cvmfs::FillOpenFlags(), and glue::PageCacheTracker::Open().
bool glue::PageCacheTracker::OpenDirectives::keep_cache |
Flush the page cache; logically, the flush takes place some time between cvmfs_open() and cvmfs_close(). That's important in case we have two open() calls on stale page cache data.
Definition at line 971 of file glue_buffer.h.
Referenced by cvmfs::FillOpenFlags(), and glue::PageCacheTracker::Open().