pub struct PageCacheInner<FS: FileSystem> {
pub fs: FS,
pub inner: Arc<Mutex<PageCacheState>>,
pub request: Sender<(RegularFile, FileBlockNumber)>,
_readahead_thread: JoinHandle,
}Expand description
Internal representation of a PageCache.
Fields§
§fs: FSThe file system that the page cache operates on.
inner: Arc<Mutex<PageCacheState>>The shared state of the page cache.
request: Sender<(RegularFile, FileBlockNumber)>Channel for sending read-ahead requests to the background thread.
_readahead_thread: JoinHandleJoin handle for the read-ahead thread.