Public Member Functions | Data Fields | Static Public Attributes

CacheVC Struct Reference

#include <P_CacheInternal.h>

Inherits CacheVConnection.

Collaboration diagram for CacheVC:
Collaboration graph
[legend]

Public Member Functions

 CacheVC ()
VIOdo_io_read (Continuation *c, int64_t nbytes, MIOBuffer *buf)
 Read data from the VConnection.
VIOdo_io_pread (Continuation *c, int64_t nbytes, MIOBuffer *buf, int64_t offset)
VIOdo_io_write (Continuation *c, int64_t nbytes, IOBufferReader *buf, bool owner=false)
 Write data to the VConnection.
void do_io_close (int lerrno=-1)
 Indicate that the VConnection is no longer needed.
void reenable (VIO *avio)
void reenable_re (VIO *avio)
bool get_data (int i, void *data)
 Convenience function to retrieve information from VConnection.
bool set_data (int i, void *data)
 Convenience function to set information into the VConnection.
bool is_ram_cache_hit () const
int get_header (void **ptr, int *len)
int set_header (void *ptr, int len)
int get_single_data (void **ptr, int *len)
bool writer_done ()
int calluser (int event)
int callcont (int event)
int die ()
int dead (int event, Event *e)
int handleReadDone (int event, Event *e)
int handleRead (int event, Event *e)
int do_read_call (CacheKey *akey)
int handleWrite (int event, Event *e)
int handleWriteLock (int event, Event *e)
int do_write_call ()
int do_write_lock ()
int do_write_lock_call ()
int do_sync (uint32_t target_write_serial)
int openReadClose (int event, Event *e)
int openReadReadDone (int event, Event *e)
int openReadMain (int event, Event *e)
int openReadStartEarliest (int event, Event *e)
int openReadStartHead (int event, Event *e)
int openReadFromWriter (int event, Event *e)
int openReadFromWriterMain (int event, Event *e)
int openReadFromWriterFailure (int event, Event *)
int openReadChooseWriter (int event, Event *e)
int openWriteCloseDir (int event, Event *e)
int openWriteCloseHeadDone (int event, Event *e)
int openWriteCloseHead (int event, Event *e)
int openWriteCloseDataDone (int event, Event *e)
int openWriteClose (int event, Event *e)
int openWriteRemoveVector (int event, Event *e)
int openWriteWriteDone (int event, Event *e)
int openWriteOverwrite (int event, Event *e)
int openWriteMain (int event, Event *e)
int openWriteStartDone (int event, Event *e)
int openWriteStartBegin (int event, Event *e)
int updateVector (int event, Event *e)
int updateReadDone (int event, Event *e)
int updateVecWrite (int event, Event *e)
int removeEvent (int event, Event *e)
int linkWrite (int event, Event *e)
int derefRead (int event, Event *e)
int scanVol (int event, Event *e)
int scanObject (int event, Event *e)
int scanUpdateDone (int event, Event *e)
int scanOpenWrite (int event, Event *e)
int scanRemoveDone (int event, Event *e)
int is_io_in_progress ()
void set_io_not_in_progress ()
void set_agg_write_in_progress ()
int evacuateDocDone (int event, Event *e)
int evacuateReadHead (int event, Event *e)
void cancel_trigger ()
virtual int64_t get_object_size ()
virtual bool is_pread_capable ()
 Test if the VC can support pread.
virtual bool set_pin_in_cache (time_t time_pin)
virtual time_t get_pin_in_cache ()
virtual bool set_disk_io_priority (int priority)
virtual int get_disk_io_priority ()
 LINK (CacheVC, opendir_link)

Data Fields

CacheKey key
CacheKey first_key
CacheKey earliest_key
CacheKey update_key
Dir dir
Dir earliest_dir
Dir overwrite_dir
Dir first_dir
Action _action
CacheHTTPInfoVector vector
CacheHTTPInfo alternate
Ptr< IOBufferDatabuf
Ptr< IOBufferDatafirst_buf
Ptr< IOBufferBlockblocks
Ptr< IOBufferBlockwriter_buf
OpenDirEntry * od
AIOCallbackInternal io
int alternate_index
VIO vio
EThreadinitial_thread
CacheFragType frag_type
CacheHTTPInfoinfo
CacheHTTPInfoVectorwrite_vector
int header_len
int frag_len
uint32_t write_len
uint32_t agg_len
uint32_t write_serial
Volvol
Dirlast_collision
Eventtrigger
CacheKeyread_key
ContinuationHandler save_handler
uint32_t pin_in_cache
ink_hrtime start_time
int base_stat
int recursive
int closed
uint64_t seek_to
int64_t offset
int64_t writer_offset
int64_t length
int64_t doc_pos
uint64_t write_pos
uint64_t total_len
uint64_t doc_len
uint64_t update_len
int fragment
int scan_msec_delay
CacheVCwrite_vc
char * hostname
int host_len
int header_to_write_len
void * header_to_write
short writer_lock_retry
union {
   uint32_t   flags
   struct {
      unsigned int   use_first_key:1
      unsigned int   overwrite:1
      unsigned int   close_complete:1
      unsigned int   sync:1
      unsigned int   evacuator:1
      unsigned int   single_fragment:1
      unsigned int   evac_vector:1
      unsigned int   lookup:1
      unsigned int   update:1
      unsigned int   remove:1
      unsigned int   remove_aborted_writers:1
      unsigned int   open_read_timeout:1
      unsigned int   data_done:1
      unsigned int   read_from_writer_called:1
      unsigned int   not_from_ram_cache:1
      unsigned int   rewrite_resident_alt:1
      unsigned int   readers:1
      unsigned int   doc_from_ram_cache:1
      unsigned int   hit_evacuate:1
   }   f
}; 
char * scan_vol_map
off_t scan_fix_buffer_offset

Static Public Attributes

static int size_to_init = -1

Detailed Description

Definition at line 236 of file P_CacheInternal.h.


Constructor & Destructor Documentation

CacheVC::CacheVC (  ) 

Definition at line 294 of file Cache.cc.

References size_to_init, and vio.


Member Function Documentation

TS_INLINE int CacheVC::callcont ( int  event  ) 
TS_INLINE int CacheVC::calluser ( int  event  ) 
TS_INLINE void CacheVC::cancel_trigger (  ) 
int CacheVC::dead ( int  event,
Event e 
)

Definition at line 2346 of file Cache.cc.

References ink_assert.

Referenced by free_CacheVC().

int CacheVC::derefRead ( int  event,
Event e 
)
TS_INLINE int CacheVC::die (  ) 
void CacheVC::do_io_close ( int  lerrno = -1  )  [virtual]

Indicate that the VConnection is no longer needed.

Once the state machine has finished using this VConnection, it must call this function to indicate that the VConnection can be deallocated. After a close has been called, the VConnection and underlying processor must not send any more events related to this VConnection to the state machine. Likeswise, the state machine must not access the VConnection or any VIOs obtained from it after calling this method.

Parameters:
lerrno indicates where a close is a normal close or an abort. The difference between a normal close and an abort depends on the underlying type of the VConnection.

Implements CacheVConnection.

Definition at line 366 of file Cache.cc.

References closed, DDebug, die(), ink_assert, Continuation::mutex, recursive, and this_ethread().

Referenced by ShowCache::handleCacheEvent().

VIO * CacheVC::do_io_pread ( Continuation c,
int64_t  nbytes,
MIOBuffer buf,
int64_t  offset 
) [virtual]
VIO * CacheVC::do_io_read ( Continuation c,
int64_t  nbytes,
MIOBuffer buf 
) [virtual]

Read data from the VConnection.

Called by a state machine to read data from the VConnection. Processors implementing read functionality take out lock, put new bytes on the buffer and call the continuation back before releasing the lock in order to enable the state machine to handle transfer schemes where the end of a given transaction is marked by a special character (ie: NNTP).

Possible Event Codes

On the callback to the continuation, the VConnection may use on of the following values for the event code:

Event code Meaning
VC_EVENT_READ_READY Data has been added to the buffer or the buffer is full
VC_EVENT_READ_COMPLETE The amount of data indicated by 'nbytes' has been read into the buffer
VC_EVENT_EOS The stream being read from has been shutdown
VC_EVENT_ERROR An error occurred during the read
Parameters:
c Continuation to be called back with events.
nbytes Number of bytes to read. If unknown, nbytes must be set to INT64_MAX.
buf buffer to read into.
Returns:
VIO representing the scheduled IO operation.

Implements CacheVConnection.

Definition at line 313 of file Cache.cc.

References VIO::buffer, ink_assert, Continuation::mutex, VIO::nbytes, VIO::ndone, VIO::op, VIO::READ, recursive, VIO::set_continuation(), trigger, VIO::vc_server, vio, and MIOBufferAccessor::writer_for().

Referenced by ShowCache::handleCacheEvent().

VIO * CacheVC::do_io_write ( Continuation c,
int64_t  nbytes,
IOBufferReader buf,
bool  owner = false 
) [virtual]

Write data to the VConnection.

This method is called by a state machine to write data to the VConnection.

Possible Event Codes

On the callback to the continuation, the VConnection may use on of the following event codes:

Event code Meaning
VC_EVENT_WRITE_READY Data was written from the reader or there are no bytes available for the reader to write.
VC_EVENT_WRITE_COMPLETE The amount of data indicated by 'nbytes' has been written to the VConnection
VC_EVENT_INACTIVITY_TIMEOUT No activity was performed for a certain period.
VC_EVENT_ACTIVE_TIMEOUT Write operation continued beyond a time limit.
VC_EVENT_ERROR An error occurred during the write
Parameters:
c Continuation to be called back with events.
nbytes Number of bytes to write. If unknown, nbytes must be set to INT64_MAX.
buf Reader whose data is to be read from.
owner 
Returns:
VIO representing the scheduled IO operation.

Implements CacheVConnection.

Definition at line 348 of file Cache.cc.

References VIO::buffer, ink_assert, Continuation::mutex, VIO::nbytes, VIO::ndone, VIO::op, MIOBufferAccessor::reader_for(), recursive, VIO::set_continuation(), trigger, VIO::vc_server, vio, and VIO::WRITE.

TS_INLINE int CacheVC::do_read_call ( CacheKey akey  ) 
int CacheVC::do_sync ( uint32_t  target_write_serial  ) 
TS_INLINE int CacheVC::do_write_call (  ) 
TS_INLINE int CacheVC::do_write_lock (  ) 

Definition at line 773 of file P_CacheInternal.h.

References EVENT_NONE, handleWriteLock(), and PUSH_HANDLER.

Referenced by Cache::link(), and openWriteCloseHead().

TS_INLINE int CacheVC::do_write_lock_call (  ) 

Definition at line 780 of file P_CacheInternal.h.

References EVENT_CALL, handleWriteLock(), and PUSH_HANDLER.

Referenced by openWriteClose(), and openWriteMain().

int CacheVC::evacuateDocDone ( int  event,
Event e 
)
int CacheVC::evacuateReadHead ( int  event,
Event e 
)
bool CacheVC::get_data ( int  id,
void *  data 
) [virtual]

Convenience function to retrieve information from VConnection.

This function is provided as a convenience for state machines to transmit information from/to a VConnection without breaking the VConnection abstraction. Its behavior varies depending on the type of VConnection being used.

Parameters:
id Identifier associated to interpret the data field
data Value or pointer with state machine or VConnection data.
Returns:
True if the oparation is successful.

Reimplemented from VConnection.

Definition at line 413 of file Cache.cc.

References alternate, CACHE_DATA_HTTP_INFO, CACHE_DATA_RAM_CACHE_HIT_FLAG, and f.

int CacheVC::get_disk_io_priority (  )  [virtual]

Implements CacheVConnection.

Definition at line 505 of file Cache.cc.

References ink_aiocb::aio_reqprio, AIOCallback::aiocb, and io.

int CacheVC::get_header ( void **  ptr,
int *  len 
) [inline, virtual]

Implements CacheVConnection.

Definition at line 254 of file P_CacheInternal.h.

References first_buf, Doc::hdr(), Doc::hlen, and Ptr< T >::m_ptr.

int64_t CacheVC::get_object_size (  )  [virtual]

Implements CacheVConnection.

Definition at line 431 of file Cache.cc.

Referenced by ShowCache::handleCacheEvent(), and TSVConnCacheObjectSizeGet().

time_t CacheVC::get_pin_in_cache (  )  [virtual]

Implements CacheVConnection.

Definition at line 499 of file Cache.cc.

References pin_in_cache.

int CacheVC::get_single_data ( void **  ptr,
int *  len 
) [inline, virtual]

Implements CacheVConnection.

Definition at line 270 of file P_CacheInternal.h.

References Doc::data(), Doc::data_len(), first_buf, Ptr< T >::m_ptr, and Doc::total_len.

int CacheVC::handleRead ( int  event,
Event e 
)
int CacheVC::handleReadDone ( int  event,
Event e 
)
int CacheVC::handleWrite ( int  event,
Event e 
)
TS_INLINE int CacheVC::handleWriteLock ( int  event,
Event e 
)
int CacheVC::is_io_in_progress (  )  [inline]
bool CacheVC::is_pread_capable (  )  [virtual]

Test if the VC can support pread.

Returns:
true if do_io_pread will work, false if not.

Implements CacheVConnection.

Definition at line 2352 of file Cache.cc.

References f.

bool CacheVC::is_ram_cache_hit (  )  const [inline, virtual]

Implements CacheVConnection.

Definition at line 249 of file P_CacheInternal.h.

References f, ink_assert, VIO::op, VIO::READ, and vio.

CacheVC::LINK ( CacheVC  ,
opendir_link   
)
int CacheVC::linkWrite ( int  event,
Event e 
)
int CacheVC::openReadChooseWriter ( int  event,
Event e 
)
int CacheVC::openReadClose ( int  event,
Event e 
)
int CacheVC::openReadFromWriter ( int  event,
Event e 
)
int CacheVC::openReadFromWriterFailure ( int  event,
Event e 
)
int CacheVC::openReadFromWriterMain ( int  event,
Event e 
)
int CacheVC::openReadMain ( int  event,
Event e 
)
int CacheVC::openReadReadDone ( int  event,
Event e 
)
int CacheVC::openReadStartEarliest ( int  event,
Event e 
)
int CacheVC::openReadStartHead ( int  event,
Event e 
)

Definition at line 1013 of file CacheRead.cc.

References _action, AIO_EVENT_DONE, alternate, alternate_index, Vol::begin_read(), buf, CACHE_ALT_MAGIC_ALIVE, CACHE_ALT_MAGIC_DEAD, CACHE_ALT_MAGIC_MARSHALED, cache_config_hit_evacuate_size_limit, cache_config_select_alternate, CACHE_EVENT_LOOKUP, CACHE_EVENT_LOOKUP_FAILED, CACHE_EVENT_OPEN_READ, CACHE_EVENT_OPEN_READ_FAILED, CACHE_FRAG_TYPE_HTTP, CACHE_INCREMENT_DYN_STAT, cache_lookup_failure_stat, cache_lookup_success_stat, cache_read_failure_stat, CACHE_TRY_LOCK, callcont(), cancel_trigger(), Action::cancelled, Action::continuation, CacheHTTPInfoVector::count(), DDebug, Debug, dir, dir_agg_valid, dir_delete(), dir_offset, dir_probe(), dir_valid, do_read_call(), DOC_CORRUPT, doc_len, DOC_MAGIC, doc_pos, earliest_dir, earliest_key, EVENT_IMMEDIATE, EVENT_RETURN, f, first_buf, first_dir, Doc::first_key, frag_type, free_CacheVC(), CacheHTTPInfoVector::get(), Continuation::handleEvent(), Doc::hdr(), Vol::header, Doc::hlen, ink_assert, ink_release_assert, io, is_action_tag_set, is_debug_tag_set, Doc::key, Doc::len, HTTPCacheAlt::m_magic, Doc::magic, Continuation::mutex, MUTEX_RELEASE, next_CacheKey(), Note, offset_to_vol_offset(), AIOCallback::ok(), Vol::open_read(), openReadFromWriter(), openReadMain(), openReadStartEarliest(), VolHeaderFooter::phase, Doc::prefix_len(), HttpTransactCache::SelectFromAlternates(), SET_HANDLER, set_io_not_in_progress(), Doc::single_fragment(), ats::CryptoHash::slice32(), ProxyMutex::thread_holding, ats::CryptoHash::toHexStr(), Doc::total_len, Doc::v_major, Doc::v_minor, VC_SCHED_LOCK_RETRY, vector, Warning, Vol::within_hit_evacuate_window(), and VolHeaderFooter::write_pos.

Referenced by Cache::lookup(), Cache::open_read(), and openReadFromWriter().

int CacheVC::openWriteClose ( int  event,
Event e 
)
int CacheVC::openWriteCloseDataDone ( int  event,
Event e 
)
int CacheVC::openWriteCloseDir ( int  event,
Event e 
)
int CacheVC::openWriteCloseHead ( int  event,
Event e 
)
int CacheVC::openWriteCloseHeadDone ( int  event,
Event e 
)
int CacheVC::openWriteMain ( int  event,
Event e 
)
int CacheVC::openWriteOverwrite ( int  event,
Event e 
)
int CacheVC::openWriteRemoveVector ( int  event,
Event e 
)
int CacheVC::openWriteStartBegin ( int  event,
Event e 
)
int CacheVC::openWriteStartDone ( int  event,
Event e 
)
int CacheVC::openWriteWriteDone ( int  event,
Event e 
)
void CacheVC::reenable ( VIO avio  )  [virtual]
void CacheVC::reenable_re ( VIO avio  )  [virtual]
int CacheVC::removeEvent ( int  event,
Event e 
)
int CacheVC::scanObject ( int  event,
Event e 
)

Definition at line 151 of file CacheVol.cc.

References _action, Ptr< T >::_ptr(), AIOCallback::action, ink_aiocb::aio_buf, ink_aiocb::aio_fildes, ink_aiocb::aio_nbytes, ink_aiocb::aio_offset, AIOCallback::aio_result, AIOCallback::aiocb, alternate, alternate_index, buf, cache_config_mutex_retry_delay, CACHE_EVENT_SCAN_DONE, CACHE_EVENT_SCAN_OBJECT, CACHE_FRAG_TYPE_HTTP, CACHE_SCAN_RESULT_CONTINUE, CACHE_SCAN_RESULT_DELETE, CACHE_SCAN_RESULT_DELETE_ALL_ALTERNATES, CACHE_SCAN_RESULT_UPDATE, CACHE_TRY_LOCK, cacheProcessor, cancel_trigger(), Action::cancelled, CacheHTTPInfoVector::clear(), Action::continuation, CacheHTTPInfoVector::count(), Doc::data(), Debug, dir, dir_agg_valid, dir_head, dir_probe(), DOC_MAGIC, Doc::doc_type, earliest_dir, earliest_key, ECACHE_READ_FAIL, EVENT_DONE, EVENT_NONE, eventProcessor, f, Vol::fd, first_key, Doc::first_key, frag_type, fragment, free_CacheVC(), CacheHTTPInfoVector::get(), Continuation::handleEvent(), Doc::hdr(), Doc::hlen, HRTIME_MSECONDS, ink_aio_read(), ink_assert, CacheHTTPInfoVector::insert(), io, Doc::key, key, last_collision, Doc::len, Vol::len, Doc::magic, make_vol_map(), Continuation::mutex, next_in_map(), offset, CacheProcessor::remove(), CacheHTTPInfoVector::remove(), Vol::round_to_approx_size(), SCAN_BUF_SIZE, scan_fix_buffer_offset, scan_msec_delay, scan_vol_map, scanOpenWrite(), scanRemoveDone(), scanVol(), EventProcessor::schedule_in(), SET_HANDLER, set_io_not_in_progress(), Vol::skip, AIOCallback::thread, unmarshal(), vector, vol, vol_offset(), vol_offset_to_offset(), write_len, writer_lock_retry, and zero_key.

Referenced by scanOpenWrite(), scanRemoveDone(), scanUpdateDone(), and scanVol().

int CacheVC::scanOpenWrite ( int  event,
Event e 
)
int CacheVC::scanRemoveDone ( int  event,
Event e 
)

Definition at line 375 of file CacheVol.cc.

References alternate, Debug, EVENT_IMMEDIATE, Continuation::handleEvent(), scanObject(), and SET_HANDLER.

Referenced by scanObject().

int CacheVC::scanUpdateDone ( int  event,
Event e 
)
int CacheVC::scanVol ( int  event,
Event e 
)
void CacheVC::set_agg_write_in_progress (  )  [inline]

Definition at line 347 of file P_CacheInternal.h.

References ink_aiocb::aio_fildes, AIOCallback::aiocb, and io.

Referenced by handleWrite(), and handleWriteLock().

bool CacheVC::set_data ( int  id,
void *  data 
) [virtual]

Convenience function to set information into the VConnection.

This function is provided as a convenience for state machines to transmit information from/to a VConnection without breaking the VConnection abstraction. Its behavior varies depending on the type of VConnection being used.

Parameters:
id Identifier associated to interpret the data field.
data Value or pointer with state machine or VConnection data.
Returns:
True if the oparation is successful.

Reimplemented from VConnection.

Definition at line 436 of file Cache.cc.

References ink_assert.

bool CacheVC::set_disk_io_priority ( int  priority  )  [virtual]
int CacheVC::set_header ( void *  ptr,
int  len 
) [inline, virtual]

Implements CacheVConnection.

Definition at line 264 of file P_CacheInternal.h.

References header_to_write, and header_to_write_len.

void CacheVC::set_io_not_in_progress (  )  [inline]
bool CacheVC::set_pin_in_cache ( time_t  time_pin  )  [virtual]

Implements CacheVConnection.

Definition at line 477 of file Cache.cc.

References ink_assert, VIO::op, pin_in_cache, total_len, vio, and VIO::WRITE.

Referenced by set_channel_pin_ClusterFunction().

int CacheVC::updateReadDone ( int  event,
Event e 
)
int CacheVC::updateVector ( int  event,
Event e 
)
int CacheVC::updateVecWrite ( int  event,
Event e 
)
TS_INLINE bool CacheVC::writer_done (  ) 

Definition at line 787 of file P_CacheInternal.h.

References first_key, od, Vol::open_read(), start_time, vol, and write_vc.

Referenced by openReadFromWriter(), openReadMain(), and openReadReadDone().


Field Documentation

union { ... }
uint32_t CacheVC::agg_len

Definition at line 436 of file P_CacheInternal.h.

Referenced by agg_copy(), Vol::aggWrite(), Vol::evacuateWrite(), and handleWrite().

Definition at line 477 of file P_CacheInternal.h.

unsigned int CacheVC::data_done

Definition at line 487 of file P_CacheInternal.h.

Definition at line 492 of file P_CacheInternal.h.

uint64_t CacheVC::doc_len
unsigned int CacheVC::evac_vector

Definition at line 481 of file P_CacheInternal.h.

unsigned int CacheVC::evacuator

Definition at line 479 of file P_CacheInternal.h.

struct { ... } CacheVC::f
uint32_t CacheVC::flags

Definition at line 472 of file P_CacheInternal.h.

Definition at line 434 of file P_CacheInternal.h.

Referenced by agg_copy(), and handleWrite().

Definition at line 463 of file P_CacheInternal.h.

Referenced by agg_copy(), and set_header().

Definition at line 462 of file P_CacheInternal.h.

Referenced by openWriteCloseHead(), and set_header().

unsigned int CacheVC::hit_evacuate

Definition at line 493 of file P_CacheInternal.h.

Definition at line 461 of file P_CacheInternal.h.

Referenced by Cache::scan(), and scanVol().

Definition at line 460 of file P_CacheInternal.h.

Referenced by Cache::scan(), and scanVol().

Definition at line 428 of file P_CacheInternal.h.

Referenced by Cache::open_write().

Definition at line 426 of file P_CacheInternal.h.

Referenced by Vol::aggWrite(), Vol::aggWriteDone(), and new_CacheVC().

int64_t CacheVC::length
unsigned int CacheVC::lookup

Definition at line 482 of file P_CacheInternal.h.

Definition at line 489 of file P_CacheInternal.h.

OpenDirEntry* CacheVC::od
int64_t CacheVC::offset

Definition at line 486 of file P_CacheInternal.h.

unsigned int CacheVC::overwrite

Definition at line 476 of file P_CacheInternal.h.

Definition at line 443 of file P_CacheInternal.h.

Referenced by agg_copy(), get_pin_in_cache(), Cache::open_write(), and set_pin_in_cache().

Definition at line 488 of file P_CacheInternal.h.

Definition at line 441 of file P_CacheInternal.h.

Referenced by do_read_call(), handleRead(), and handleReadDone().

unsigned int CacheVC::readers

Definition at line 491 of file P_CacheInternal.h.

unsigned int CacheVC::remove

Definition at line 484 of file P_CacheInternal.h.

Definition at line 485 of file P_CacheInternal.h.

Definition at line 490 of file P_CacheInternal.h.

Definition at line 442 of file P_CacheInternal.h.

Referenced by die().

Definition at line 510 of file P_CacheInternal.h.

Referenced by scanObject().

Definition at line 458 of file P_CacheInternal.h.

Referenced by Cache::scan(), scanObject(), scanOpenWrite(), and scanVol().

Definition at line 507 of file P_CacheInternal.h.

Referenced by free_CacheVC(), and scanObject().

uint64_t CacheVC::seek_to

Definition at line 448 of file P_CacheInternal.h.

Referenced by do_io_pread(), openReadFromWriterMain(), and openReadMain().

Definition at line 480 of file P_CacheInternal.h.

int CacheVC::size_to_init = -1 [static]

Definition at line 383 of file P_CacheInternal.h.

Referenced by CacheVC(), and free_CacheVC().

unsigned int CacheVC::sync

Definition at line 478 of file P_CacheInternal.h.

unsigned int CacheVC::update

Definition at line 483 of file P_CacheInternal.h.

Definition at line 390 of file P_CacheInternal.h.

Referenced by openReadChooseWriter(), openReadFromWriter(), and openWriteCloseDir().

Definition at line 456 of file P_CacheInternal.h.

unsigned int CacheVC::use_first_key

Definition at line 475 of file P_CacheInternal.h.

Definition at line 453 of file P_CacheInternal.h.

Referenced by openWriteCloseDataDone(), and openWriteWriteDone().

Definition at line 437 of file P_CacheInternal.h.

Referenced by agg_copy(), Vol::aggWrite(), and Vol::aggWriteDone().

Definition at line 407 of file P_CacheInternal.h.

Referenced by free_CacheVC(), openReadFromWriter(), and openReadFromWriterMain().

Definition at line 464 of file P_CacheInternal.h.

Referenced by openReadFromWriter(), openReadMain(), scanObject(), and scanOpenWrite().

Definition at line 450 of file P_CacheInternal.h.

Referenced by openReadFromWriter(), and openReadFromWriterMain().


The documentation for this struct was generated from the following files: