CernVM-FS
2.12.0
|
Public Member Functions | |
LruCommand () | |
void | SetSize (const uint64_t new_size) |
uint64_t | GetSize () const |
void | StoreHash (const shash::Any &hash) |
shash::Any | RetrieveHash () const |
Public Attributes | |
CommandType | command_type |
uint64_t | size |
int | return_pipe |
unsigned char | digest [shash::kMaxDigestSize] |
uint16_t | desc_length |
That could be done in more elegant way. However, we might have a situation with old cache manager serving new clients (or vice versa) and we don't want to change the memory layout of LruCommand.
Definition at line 134 of file quota_posix.h.
|
inline |
Definition at line 145 of file quota_posix.h.
|
inline |
Definition at line 160 of file quota_posix.h.
Referenced by PosixQuotaManager::MainCommandServer(), and PosixQuotaManager::ProcessCommandBunch().
|
inline |
Definition at line 174 of file quota_posix.h.
Referenced by PosixQuotaManager::MainCommandServer(), and PosixQuotaManager::ProcessCommandBunch().
|
inline |
Definition at line 154 of file quota_posix.h.
Referenced by PosixQuotaManager::DoInsert(), and PosixQuotaManager::Pin().
|
inline |
Definition at line 166 of file quota_posix.h.
Referenced by PosixQuotaManager::DoInsert(), PosixQuotaManager::MainCommandServer(), PosixQuotaManager::Pin(), PosixQuotaManager::Remove(), and PosixQuotaManager::Touch().
CommandType PosixQuotaManager::LruCommand::command_type |
Definition at line 135 of file quota_posix.h.
Referenced by PosixQuotaManager::Cleanup(), PosixQuotaManager::DoInsert(), PosixQuotaManager::DoList(), PosixQuotaManager::GetCleanupRate(), PosixQuotaManager::GetLimits(), PosixQuotaManager::GetPid(), PosixQuotaManager::GetProtocolRevision(), PosixQuotaManager::GetSharedStatus(), PosixQuotaManager::MainCommandServer(), PosixQuotaManager::Pin(), PosixQuotaManager::ProcessCommandBunch(), PosixQuotaManager::RegisterBackChannel(), PosixQuotaManager::Remove(), PosixQuotaManager::SetSharedLimit(), PosixQuotaManager::Touch(), PosixQuotaManager::Unpin(), and PosixQuotaManager::UnregisterBackChannel().
uint16_t PosixQuotaManager::LruCommand::desc_length |
Maximum 512-sizeof(LruCommand) in order to guarantee atomic pipe operations.
Definition at line 143 of file quota_posix.h.
Referenced by PosixQuotaManager::DoInsert(), and PosixQuotaManager::MainCommandServer().
unsigned char PosixQuotaManager::LruCommand::digest[shash::kMaxDigestSize] |
Definition at line 138 of file quota_posix.h.
Referenced by LruCommand(), PosixQuotaManager::MainCommandServer(), PosixQuotaManager::RegisterBackChannel(), RetrieveHash(), StoreHash(), and PosixQuotaManager::UnregisterBackChannel().
int PosixQuotaManager::LruCommand::return_pipe |
For cleanup, listing, and reservations
Definition at line 137 of file quota_posix.h.
Referenced by PosixQuotaManager::Cleanup(), PosixQuotaManager::DoList(), PosixQuotaManager::GetCleanupRate(), PosixQuotaManager::GetLimits(), PosixQuotaManager::GetPid(), PosixQuotaManager::GetProtocolRevision(), PosixQuotaManager::GetSharedStatus(), PosixQuotaManager::Pin(), PosixQuotaManager::RegisterBackChannel(), PosixQuotaManager::Remove(), and PosixQuotaManager::SetSharedLimit().
uint64_t PosixQuotaManager::LruCommand::size |
Careful! Last 3 bits store hash algorithm
Definition at line 136 of file quota_posix.h.
Referenced by PosixQuotaManager::Cleanup(), PosixQuotaManager::GetCleanupRate(), GetSize(), RetrieveHash(), PosixQuotaManager::SetSharedLimit(), SetSize(), and StoreHash().