Changeset View
Changeset View
Standalone View
Standalone View
tests/sys/fs/fusefs/mockfs.hh
Show First 20 Lines • Show All 278 Lines • ▼ Show 20 Lines | class MockFS { | ||||
* thread id of the fuse daemon thread | * thread id of the fuse daemon thread | ||||
* | * | ||||
* It must run in a separate thread so it doesn't deadlock with the | * It must run in a separate thread so it doesn't deadlock with the | ||||
* client test code. | * client test code. | ||||
*/ | */ | ||||
pthread_t m_daemon_id; | pthread_t m_daemon_id; | ||||
/* file descriptor of /dev/fuse control device */ | /* file descriptor of /dev/fuse control device */ | ||||
int m_fuse_fd; | volatile int m_fuse_fd; | ||||
/* The minor version of the kernel API that this mock daemon targets */ | /* The minor version of the kernel API that this mock daemon targets */ | ||||
uint32_t m_kernel_minor_version; | uint32_t m_kernel_minor_version; | ||||
int m_kq; | int m_kq; | ||||
/* The max_readahead file system option */ | /* The max_readahead file system option */ | ||||
uint32_t m_maxreadahead; | uint32_t m_maxreadahead; | ||||
▲ Show 20 Lines • Show All 132 Lines • Show Last 20 Lines |