Changeset View
Changeset View
Standalone View
Standalone View
tests/sys/fs/fusefs/mockfs.hh
Show First 20 Lines • Show All 350 Lines • ▼ Show 20 Lines | class MockFS { | ||||
/* Tell the daemon to shut down ASAP */ | /* Tell the daemon to shut down ASAP */ | ||||
bool m_quit; | bool m_quit; | ||||
/* Create a new mockfs and mount it to a tempdir */ | /* Create a new mockfs and mount it to a tempdir */ | ||||
MockFS(int max_readahead, bool allow_other, | MockFS(int max_readahead, bool allow_other, | ||||
bool default_permissions, bool push_symlinks_in, bool ro, | bool default_permissions, bool push_symlinks_in, bool ro, | ||||
enum poll_method pm, uint32_t flags, | enum poll_method pm, uint32_t flags, | ||||
uint32_t kernel_minor_version, uint32_t max_write, bool async, | uint32_t kernel_minor_version, uint32_t max_write, bool async, | ||||
bool no_clusterr, unsigned time_gran, bool nointr); | bool no_clusterr, unsigned time_gran, bool nointr, | ||||
bool noatime); | |||||
virtual ~MockFS(); | virtual ~MockFS(); | ||||
/* Kill the filesystem daemon without unmounting the filesystem */ | /* Kill the filesystem daemon without unmounting the filesystem */ | ||||
void kill_daemon(); | void kill_daemon(); | ||||
/* Process FUSE requests endlessly */ | /* Process FUSE requests endlessly */ | ||||
void loop(); | void loop(); | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |