#include <P_CacheVol.h>
Data Fields | |
unsigned int | magic |
VersionNumber | version |
time_t | create_time |
off_t | write_pos |
off_t | last_write_pos |
off_t | agg_pos |
uint32_t | generation |
uint32_t | phase |
uint32_t | cycle |
uint32_t | sync_serial |
uint32_t | write_serial |
uint32_t | dirty |
uint32_t | sector_size |
uint32_t | unused |
uint16_t | freelist [1] |
Definition at line 101 of file P_CacheVol.h.
off_t VolHeaderFooter::agg_pos |
Definition at line 108 of file P_CacheVol.h.
Referenced by Vol::agg_wrap(), Vol::aggWrite(), Vol::aggWriteDone(), Cache_dir(), sync_cache_dir_on_shutdown(), vol_clear_init(), vol_out_of_phase_agg_valid(), and vol_out_of_phase_valid().
time_t VolHeaderFooter::create_time |
Definition at line 105 of file P_CacheVol.h.
Referenced by Vol::db_check(), ShowCacheInternal::showVolVolumes(), and vol_clear_init().
uint32_t VolHeaderFooter::cycle |
Definition at line 111 of file P_CacheVol.h.
Referenced by Vol::agg_wrap(), and vol_clear_init().
uint32_t VolHeaderFooter::dirty |
Definition at line 114 of file P_CacheVol.h.
Referenced by dir_delete_entry(), dir_insert(), dir_overwrite(), CacheSync::mainEvent(), sync_cache_dir_on_shutdown(), and vol_clear_init().
uint16_t VolHeaderFooter::freelist[1] |
Definition at line 120 of file P_CacheVol.h.
Referenced by Cache_dir(), dir_delete_entry(), dir_free_entry(), dir_freelist_length(), dir_init_segment(), freelist_clean(), freelist_pop(), unlink_from_freelist(), and vol_init_dir().
uint32_t VolHeaderFooter::generation |
Definition at line 109 of file P_CacheVol.h.
Referenced by Vol::increment_generation().
Definition at line 107 of file P_CacheVol.h.
Referenced by Vol::aggWriteDone(), Vol::handle_recover_from_data(), sync_cache_dir_on_shutdown(), and vol_clear_init().
unsigned int VolHeaderFooter::magic |
Definition at line 103 of file P_CacheVol.h.
Referenced by Vol::handle_dir_read(), and vol_clear_init().
uint32_t VolHeaderFooter::phase |
Definition at line 110 of file P_CacheVol.h.
Referenced by agg_copy(), Vol::agg_wrap(), Vol::aggWrite(), Vol::db_check(), Vol::evacuate_cleanup_blocks(), CacheVC::openReadStartEarliest(), CacheVC::openReadStartHead(), Vol::scan_for_pinned_documents(), ShowCacheInternal::showVolVolumes(), and vol_clear_init().
uint32_t VolHeaderFooter::sector_size |
Definition at line 115 of file P_CacheVol.h.
Referenced by Vol::handle_dir_read(), and vol_clear_init().
uint32_t VolHeaderFooter::sync_serial |
Definition at line 112 of file P_CacheVol.h.
Referenced by agg_copy(), Vol::aggWrite(), Vol::db_check(), Vol::handle_recover_from_data(), CacheSync::mainEvent(), ShowCacheInternal::showVolVolumes(), and sync_cache_dir_on_shutdown().
uint32_t VolHeaderFooter::unused |
Definition at line 116 of file P_CacheVol.h.
Definition at line 104 of file P_CacheVol.h.
Referenced by CacheProcessor::cacheInitialized(), Vol::handle_dir_read(), and vol_clear_init().
Definition at line 106 of file P_CacheVol.h.
Referenced by agg_copy(), Vol::agg_wrap(), Vol::aggWrite(), Vol::aggWriteDone(), cache_bytes_used(), Cache_dir(), Vol::db_check(), Vol::evacuate_cleanup(), Vol::evacuate_cleanup_blocks(), Vol::handle_recover_from_data(), Vol::handle_recover_write_dir(), CacheVC::handleRead(), CacheSync::mainEvent(), CacheVC::openReadStartEarliest(), CacheVC::openReadStartHead(), Vol::periodic_scan(), Vol::scan_for_pinned_documents(), ShowCacheInternal::showVolVolumes(), sync_cache_dir_on_shutdown(), vol_clear_init(), vol_in_phase_agg_buf_valid(), vol_in_phase_valid(), vol_out_of_phase_write_valid(), and Vol::within_hit_evacuate_window().
uint32_t VolHeaderFooter::write_serial |
Definition at line 113 of file P_CacheVol.h.
Referenced by agg_copy(), Vol::aggWrite(), Vol::aggWriteDone(), Vol::db_check(), Vol::handle_recover_from_data(), ShowCacheInternal::showVolVolumes(), and sync_cache_dir_on_shutdown().