#include <CacheS.H>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 2770 of file CacheS.C. References VestaLog::checkpointAbort(), graphLog, graphLogMu, Basics::mutex::lock(), and Basics::mutex::unlock(). |
|
Definition at line 387 of file CacheS.C. References Intvl::Add, VPKFile::AddEntry(), CacheIntf::BadAddEntryArgs, CacheIntf::EntryAdded, VPKFile::Evicted(), Basics::mutex::lock(), VPKFile::mu, mu, NEW_CONSTR, VPKFile::NewEntry(), CacheIntf::NoLease, SPKFile::PKEpoch(), Basics::mutex::unlock(), VPKFile::UpdateFreeEpoch(), and CE::T::Value(). |
|
Definition at line 495 of file CacheS.C. References VMultiPKFile::IncEntries(), VMultiPKFile::IsFull(), Basics::mutex::lock(), mu, Basics::mutex::unlock(), and VMultiPKFile::UpdateEpoch(). |
|
Definition at line 2052 of file CacheS.C. Referenced by CacheS_DoDeletions(). |
|
Definition at line 1270 of file CacheS.C. References ChkptWorker::WaitUntilDone(). |
|
Definition at line 2755 of file CacheS.C. References VestaLog::checkpointBegin(), FS::Close(), graphLog, graphLogMu, Basics::mutex::lock(), VestaLog::logVersion(), and Basics::mutex::unlock(). |
|
Definition at line 2936 of file CacheS.C. References FS::Close(), Basics::mutex::lock(), Debug::Lock(), CacheIntf::LogFlush, mu, NEW_CONSTR, Intvl::List::next, Debug::Timestamp(), Basics::mutex::unlock(), Debug::Unlock(), and BitVector::Write(). Referenced by CacheS_DoDeletions(). |
|
Definition at line 2273 of file CacheS.C. References Text::chars(), FS::Close(), VestaLogSeq::Close(), Config_CacheLogPath, Debug::Lock(), CacheIntf::LogFlush, VestaLogSeq::Next(), VestaLogSeq::Open(), Debug::Timestamp(), and Debug::Unlock(). Referenced by CacheS_CleanCacheLogWorker(). |
|
Definition at line 2237 of file CacheS.C. References Basics::mutex::lock(), mu, CacheLog::Entry::pk, CacheLog::Entry::pkEpoch, Basics::mutex::unlock(), and CacheLog::Entry::Write(). |
|
Definition at line 1921 of file CacheS.C. References hitFilter, BitVector::ResetAll(), and WriteHitFilter(). Referenced by CacheS_DoDeletions(). |
|
Definition at line 1058 of file CacheS.C. References Text::cchars(), Config_GraphLogPath, FS::Delete(), FS::Exists(), Text::Length(), Basics::mutex::lock(), VestaLog::Error::msg, mu, VestaLog::Error::r, Text::Sub(), and Basics::mutex::unlock(). |
|
Definition at line 84 of file CacheS.H. References debug. |
|
Definition at line 1376 of file CacheS.C. References GraphLog::Root::Debug(), GraphLog::Root::DebugFull(), Debug::Lock(), Basics::mutex::lock(), GraphLog::Root::Log(), CacheIntf::LogFlush, VestaLog::Error::msg, mu, VestaLog::Error::r, Debug::Timestamp(), Debug::Unlock(), and Basics::mutex::unlock(). Referenced by ChkptWorker::MainLoop(). |
|
Definition at line 998 of file CacheS.C. References Basics::mutex::lock(), VestaLog::Error::msg, mu, VestaLog::Error::r, and Basics::mutex::unlock(). |
|
Definition at line 189 of file CacheS.C. References NEW_CONSTR. |
|
Definition at line 1318 of file CacheS.C. Referenced by ChkptWorker::MainLoop(). |
|
Definition at line 1479 of file CacheS.C. References allFlushWorkersDone, cacheLogMu, FlushMPKFile(), Basics::mutex::lock(), mpkTbl, mu, NEW_PTRFREE_ARRAY, Table< K, V >::Iterator::Next(), Table< K, V >::Default::Size(), TryCleanCacheLog(), Basics::mutex::unlock(), and Basics::cond::wait(). |
|
Definition at line 2148 of file CacheS.C. References Config_MaxCacheLogCnt, CacheLog::Entry::Debug(), Debug::Lock(), Basics::mutex::lock(), CacheLog::Entry::Log(), CacheIntf::LogFlush, CacheIntf::LogFlushEntries, mu, CacheLog::Entry::next, CacheLog::Entry::Reset(), Debug::Timestamp(), Debug::Unlock(), and Basics::mutex::unlock(). |
|
Definition at line 2672 of file CacheS.C. References Debug::Lock(), Basics::mutex::lock(), CacheIntf::LogFlush, CacheIntf::LogFlushEntries, mu, GraphLog::Node::next, Debug::Timestamp(), Debug::Unlock(), and Basics::mutex::unlock(). |
|
Definition at line 512 of file CacheS.C. References FlushWorker::Start(). Referenced by CacheS_DoFreeMPKFiles(), and FlushAll(). |
|
Definition at line 2852 of file CacheS.C. References ciLogFlushQ, ciLogMu, FlushQueue::Dequeue(), FlushQueue::Enqueue(), FlushUsedCIsList(), Debug::Lock(), Basics::mutex::lock(), CacheIntf::LogFlush, mu, Intvl::List::next, Debug::Timestamp(), Debug::Unlock(), Basics::mutex::unlock(), vCIAvail, and vCILog. |
|
Definition at line 2907 of file CacheS.C. References Intvl::T::Debug(), Intvl::List::i, Debug::Lock(), Intvl::T::Log(), CacheIntf::LogFlushEntries, Intvl::List::next, and Debug::Unlock(). Referenced by FlushUsedCIs(). |
|
Definition at line 244 of file CacheS.C. References Basics::mutex::lock(), mu, and Basics::mutex::unlock(). |
|
Definition at line 1527 of file CacheS.C. References Config_Port, Config_SCachePath, Basics::mutex::lock(), mu, Basics::mutex::unlock(), VCacheVersion, and CacheIntf::Version. |
|
Definition at line 1567 of file CacheS.C. References instanceFp. |
|
Definition at line 1542 of file CacheS.C. References OS::GetProcessSize(), Basics::mutex::lock(), mu, and Basics::mutex::unlock(). |
|
Definition at line 976 of file CacheS.C. References leases, Leases::LeaseSet(), Basics::mutex::lock(), mu, and Basics::mutex::unlock(). |
|
Definition at line 221 of file CacheS.C. References NEW_CONSTR, and VMultiPKFile::Put(). |
|
Definition at line 2117 of file CacheS.C. References CacheLog::Entry::Init(), NEW_CONSTR, and CacheLog::Entry::next. |
|
Definition at line 2828 of file CacheS.C. References Intvl::T::hi, Intvl::List::i, Intvl::T::lo, NEW, Intvl::List::next, and Intvl::T::op. |
|
Definition at line 2647 of file CacheS.C. References GraphLog::Node::Init(), GraphLog::Entry::kind, NEW_CONSTR, GraphLog::Node::next, and GraphLog::NodeKind. |
|
Definition at line 287 of file CacheS.C. References CacheIntf::DiskHits, VPKFile::Evicted(), CacheIntf::Hit, Debug::Lock(), Basics::mutex::lock(), VPKFile::Lookup(), CacheIntf::Miss, VPKFile::mu, mu, Debug::Timestamp(), Debug::Unlock(), Basics::mutex::unlock(), and VPKFile::UpdateFreeEpoch(). |
|
Definition at line 2393 of file CacheS.C. References availCleanWorker, idleCleanWorker, and Basics::cond::wait(). |
|
Definition at line 520 of file CacheS.C. References NEW_CONSTR. |
|
Definition at line 213 of file CacheS.C. References SPKFile::PKEpoch(). |
|
Definition at line 1284 of file CacheS.C. References ChkptWorker::Init(), NEW_CONSTR, and ChkptWorker::next. |
|
Definition at line 1774 of file CacheS.C. References deleting, Basics::mutex::lock(), mu, RecoverCacheLog(), RecoverCILog(), RecoverDeleting(), RecoverGraphLog(), RecoverHitFilter(), RecoverMPKsToWeed(), RecoverWeededMPKs(), and Basics::mutex::unlock(). |
|
Definition at line 2562 of file CacheS.C. References cacheLog, cacheLogFlushQ, cacheLogMu, Text::chars(), FS::Close(), Config_CacheLogPath, emptyPKLog, EmptyPKLog::EndRecovery(), Basics::mutex::lock(), Debug::Lock(), VestaLog::loggingBegin(), CacheIntf::LogRecover, mu, NEW, NEW_CONSTR, VestaLog::open(), VestaLog::openCheckpoint(), RecoverCacheLogEntries(), RecoverEmptyPKLog(), Debug::Timestamp(), Basics::mutex::unlock(), Debug::Unlock(), vCacheAvail, vCacheLog, and vCacheLogTail. Referenced by Recover(). |
|
|
Definition at line 3041 of file CacheS.C. References Intvl::Add, BitVector::Cardinality(), Text::chars(), ciLog, ciLogFlushQ, ciLogMu, FS::Close(), Config_CILogPath, Intvl::T::Debug(), entryCnt, RecoveryReader::eof(), Intvl::T::hi, Intvl::T::lo, Basics::mutex::lock(), Debug::Lock(), VestaLog::loggingBegin(), CacheIntf::LogRecover, mu, NEW, NEW_CONSTR, Intvl::T::op, VestaLog::open(), VestaLog::openCheckpoint(), BitVector::Recover(), BitVector::ResetAll(), Debug::Timestamp(), Basics::mutex::unlock(), Debug::Unlock(), usedCIs, vCIAvail, vCILog, and BitVector::WriteInterval(). Referenced by Recover(). |
|
Definition at line 1796 of file CacheS.C. References BoolName, FS::Close(), Config_DeletingFile, deleting, Debug::Lock(), Basics::mutex::lock(), CacheIntf::LogRecover, mu, FS::OpenReadOnly(), FS::Read(), Debug::Timestamp(), Debug::Unlock(), and Basics::mutex::unlock(). Referenced by Recover(). |
|
Definition at line 2426 of file CacheS.C. References Debug::Lock(), CacheIntf::LogRecover, and Debug::Unlock(). Referenced by RecoverCacheLog(). |
|
Definition at line 2780 of file CacheS.C. References Text::chars(), VestaLog::checkpointResume(), FS::Close(), Config_GraphLogPath, VestaLog::get(), graphLog, graphLogChkptVer, graphLogFlushQ, graphLogMu, Basics::mutex::lock(), VestaLog::loggingBegin(), VestaLog::logVersion(), mu, NEW, NEW_CONSTR, VestaLog::open(), Basics::mutex::unlock(), vGraphLog, vGraphLogTail, vGraphNodeAvail, and vGraphNodeAvailLen. Referenced by Recover(). |
|
Definition at line 1859 of file CacheS.C. References FS::Close(), Config_HitFilterFile, hitFilter, Debug::Lock(), Basics::mutex::lock(), CacheIntf::LogRecover, mu, FS::OpenReadOnly(), BitVector::Read(), Debug::Timestamp(), Debug::Unlock(), and Basics::mutex::unlock(). Referenced by Recover(). |
|
Definition at line 1959 of file CacheS.C. References FS::Close(), Config_MPKsToWeedFile, PKPrefix::List::len, Debug::Lock(), Basics::mutex::lock(), CacheIntf::LogRecover, mpksToWeed, mu, FS::OpenReadOnly(), PKPrefix::List::pfx, PKPrefix::List::Read(), Debug::Timestamp(), Debug::Unlock(), and Basics::mutex::unlock(). Referenced by Recover(). |
|
Definition at line 2073 of file CacheS.C. References Text::chars(), Config_WeededLogPath, Debug::Lock(), Basics::mutex::lock(), VestaLog::loggingBegin(), CacheIntf::LogRecover, mu, NEW, nextMPKToWeed, VestaLog::open(), VestaLog::readAll(), Debug::Timestamp(), Debug::Unlock(), Basics::mutex::unlock(), and weededMPKsLog. Referenced by Recover(). |
|
Definition at line 2405 of file CacheS.C. Referenced by CacheS_CleanCacheLogWorker(). |
|
Definition at line 540 of file CacheS.C. References Basics::mutex::lock(), mu, NEW, CacheS::FlushWorkerList::next, Basics::mutex::unlock(), and CacheS::FlushWorkerList::worker. Referenced by CacheS_FlushWorker(). |
|
Definition at line 1576 of file CacheS.C. References Basics::mutex::lock(), mu, and Basics::mutex::unlock(). |
|
Definition at line 2021 of file CacheS.C. References VestaLog::checkpointBegin(), VestaLog::checkpointEnd(), FS::Close(), VestaLog::Error::msg, nextMPKToWeed, VestaLog::prune(), VestaLog::Error::r, and weededMPKsLog. |
|
Definition at line 988 of file CacheS.C. References Leases::EnableExpiration(), leases, Basics::mutex::lock(), mu, and Basics::mutex::unlock(). |
|
Definition at line 965 of file CacheS.C. References Basics::mutex::lock(), mu, and Basics::mutex::unlock(). |
|
Definition at line 1935 of file CacheS.C. References Text::chars(), FS::Close(), Config_MPKsToWeedFile, and AtomicFile::open(). |
|
Definition at line 1835 of file CacheS.C. References Text::chars(), FS::Close(), Config_DeletingFile, AtomicFile::open(), and FS::Write(). Referenced by CacheS_DoDeletions(). |
|
|
|
Definition at line 913 of file CacheS.C. References Basics::mutex::lock(), VestaLog::Error::msg, mu, NEW_CONSTR, VestaLog::Error::r, and Basics::mutex::unlock(). |
|
Definition at line 2415 of file CacheS.C. References CacheWorker::Start(). Referenced by CacheS_DoDeletions(), CacheS_DoFreeMPKFiles(), and FlushAll(). |
|
Definition at line 80 of file CacheS.H. References CacheIntf::Version. |
|
|
Definition at line 882 of file CacheS.C. References Basics::mutex::lock(), mu, and Basics::mutex::unlock(). |
|
Definition at line 1899 of file CacheS.C. References Text::chars(), FS::Close(), Config_HitFilterFile, hitFilter, AtomicFile::open(), and BitVector::Write(). Referenced by ClearStableHitFilter(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 317 of file CacheS.H. Referenced by CacheS_DoFreeMPKFiles(), and FlushAll(). |
|
Definition at line 322 of file CacheS.H. Referenced by ChkptWorker::MainLoop(). |
|
Definition at line 348 of file CacheS.H. Referenced by NewCleanWorker(). |
|
|
|
Definition at line 265 of file CacheS.H. Referenced by CacheS_DoFreeMPKFiles(). |
|
Definition at line 349 of file CacheS.H. Referenced by RecoverCacheLog(). |
|
Definition at line 278 of file CacheS.H. Referenced by RecoverCacheLog(). |
|
|
|
Definition at line 345 of file CacheS.H. Referenced by CacheS_DoDeletions(), CacheS_DoFreeMPKFiles(), FlushAll(), and RecoverCacheLog(). |
|
Definition at line 321 of file CacheS.H. Referenced by ChkptWorker::MainLoop(). |
|
|
|
Definition at line 353 of file CacheS.H. Referenced by RecoverCILog(). |
|
Definition at line 287 of file CacheS.H. Referenced by FlushUsedCIs(), and RecoverCILog(). |
|
Definition at line 352 of file CacheS.H. Referenced by FlushUsedCIs(), and RecoverCILog(). |
|
Definition at line 301 of file CacheS.H. Referenced by CacheS_DoFreeMPKFiles(). |
|
Definition at line 259 of file CacheS.H. Referenced by CacheS_DoDeletions(), CacheS_DoFreeMPKFiles(), and DebugLevel(). |
|
Definition at line 269 of file CacheS.H. Referenced by CacheS_DoDeletions(), Recover(), and RecoverDeleting(). |
|
Definition at line 271 of file CacheS.H. Referenced by CacheS_DoDeletions(). |
|
Definition at line 268 of file CacheS.H. Referenced by RecoverCacheLog(). |
|
Definition at line 300 of file CacheS.H. Referenced by RecoverCILog(). |
|
Definition at line 289 of file CacheS.H. Referenced by CacheS_DoFreeMPKFiles(). |
|
Definition at line 296 of file CacheS.H. Referenced by CacheS_DoFreeMPKFiles(). |
|
Definition at line 351 of file CacheS.H. Referenced by AbortGraphLogChkpt(), ChkptGraphLog(), and RecoverGraphLog(). |
|
Definition at line 276 of file CacheS.H. Referenced by RecoverGraphLog(). |
|
Definition at line 282 of file CacheS.H. Referenced by RecoverGraphLog(). |
|
Definition at line 350 of file CacheS.H. Referenced by AbortGraphLogChkpt(), ChkptGraphLog(), and RecoverGraphLog(). |
|
Definition at line 273 of file CacheS.H. Referenced by CacheS_DoDeletions(), ClearStableHitFilter(), RecoverHitFilter(), and WriteHitFilter(). |
|
Definition at line 347 of file CacheS.H. Referenced by NewCleanWorker(). |
|
|
|
Definition at line 307 of file CacheS.H. Referenced by GetCacheInstance(). |
|
Definition at line 264 of file CacheS.H. Referenced by GetLeases(), and ResumeLeaseExp(). |
|
Definition at line 274 of file CacheS.H. Referenced by CacheS_DoDeletions(), and RecoverMPKsToWeed(). |
|
Definition at line 266 of file CacheS.H. Referenced by CacheS_DoFreeMPKFiles(), and FlushAll(). |
|
Definition at line 263 of file CacheS.H. Referenced by CacheS_DoDeletions(), CacheS_DoFreeMPKFiles(), FlushAll(), FlushUsedCIs(), GetLeases(), Recover(), RecoverCacheLog(), RecoverCILog(), RecoverDeleting(), RecoverGraphLog(), RecoverHitFilter(), RecoverMPKsToWeed(), RecoverWeededMPKs(), and ResumeLeaseExp(). |
|
Definition at line 275 of file CacheS.H. Referenced by CacheS_DoDeletions(), RecoverWeededMPKs(), and ResetWeededMPKs(). |
|
|
|
Definition at line 272 of file CacheS.H. Referenced by CacheS_DoDeletions(). |
|
Definition at line 316 of file CacheS.H. Referenced by CacheS_DoFreeMPKFiles(). |
|
Definition at line 323 of file CacheS.H. Referenced by ChkptWorker::MainLoop(). |
|
|
|
Definition at line 302 of file CacheS.H. Referenced by CacheS_DoFreeMPKFiles(). |
|
Definition at line 267 of file CacheS.H. Referenced by RecoverCILog(). |
|
Definition at line 281 of file CacheS.H. Referenced by RecoverCacheLog(). |
|
Definition at line 279 of file CacheS.H. Referenced by RecoverCacheLog(). |
|
Definition at line 280 of file CacheS.H. Referenced by RecoverCacheLog(). |
|
Definition at line 288 of file CacheS.H. Referenced by FlushUsedCIs(), and RecoverCILog(). |
|
Definition at line 288 of file CacheS.H. Referenced by FlushUsedCIs(), and RecoverCILog(). |
|
Definition at line 283 of file CacheS.H. Referenced by RecoverGraphLog(). |
|
Definition at line 284 of file CacheS.H. Referenced by RecoverGraphLog(). |
|
Definition at line 285 of file CacheS.H. Referenced by RecoverGraphLog(). |
|
Definition at line 286 of file CacheS.H. Referenced by RecoverGraphLog(). |
|
Definition at line 324 of file CacheS.H. Referenced by ChkptWorker::MainLoop(). |
|
Definition at line 277 of file CacheS.H. Referenced by RecoverWeededMPKs(), and ResetWeededMPKs(). |
|
|