|
xrootd
|
Contains parameters configurable from the xrootd config file. More...
#include <XrdPfc.hh>
Public Member Functions | |
| Configuration () | |
| bool | are_file_usage_limits_set () const |
| bool | is_age_based_purge_in_effect () const |
| bool | is_uvkeep_purge_in_effect () const |
| bool | is_dir_stat_reporting_on () const |
| bool | is_purge_plugin_set_up () const |
| void | calculate_fractional_usages (long long du, long long fu, double &frac_du, double &frac_fu) |
| CkSumCheck_e | get_cs_Chk () const |
| bool | is_cschk_cache () const |
| bool | is_cschk_net () const |
| bool | is_cschk_any () const |
| bool | is_cschk_both () const |
| bool | does_cschk_have_missing_bits (CkSumCheck_e cks_on_file) const |
| bool | should_uvkeep_purge (time_t delta) const |
Public Attributes | |
| bool | m_hdfsmode |
| flag for enabling block-level operation More... | |
| bool | m_allow_xrdpfc_command |
| flag for enabling access to /xrdpfc-command/ functionality. More... | |
| std::string | m_username |
| username passed to oss plugin More... | |
| std::string | m_data_space |
| oss space for data files More... | |
| std::string | m_meta_space |
| oss space for metadata files (cinfo) More... | |
| long long | m_diskTotalSpace |
| total disk space on configured partition or oss space More... | |
| long long | m_diskUsageLWM |
| cache purge - disk usage low water mark More... | |
| long long | m_diskUsageHWM |
| cache purge - disk usage high water mark More... | |
| long long | m_fileUsageBaseline |
| cache purge - files usage baseline More... | |
| long long | m_fileUsageNominal |
| cache purge - files usage nominal More... | |
| long long | m_fileUsageMax |
| cache purge - files usage maximum More... | |
| int | m_purgeInterval |
| sleep interval between cache purges More... | |
| int | m_purgeColdFilesAge |
| purge files older than this age More... | |
| int | m_purgeAgeBasedPeriod |
| peform cold file / uvkeep purge every this many purge cycles More... | |
| int | m_accHistorySize |
| max number of entries in access history part of cinfo file More... | |
| std::set< std::string > | m_dirStatsDirs |
| directories for which stat reporting was requested More... | |
| std::set< std::string > | m_dirStatsDirGlobs |
| directory globs for which stat reporting was requested More... | |
| int | m_dirStatsMaxDepth |
| maximum depth for statistics write out More... | |
| int | m_dirStatsStoreDepth |
| depth to which statistics should be collected More... | |
| long long | m_bufferSize |
| prefetch buffer size, default 1MB More... | |
| long long | m_RamAbsAvailable |
| available from configuration More... | |
| int | m_RamKeepStdBlocks |
| number of standard-sized blocks kept after release More... | |
| int | m_wqueue_blocks |
| maximum number of blocks written per write-queue loop More... | |
| int | m_wqueue_threads |
| number of threads writing blocks to disk More... | |
| int | m_prefetch_max_blocks |
| maximum number of blocks to prefetch per file More... | |
| long long | m_hdfsbsize |
| used with m_hdfsmode, default 128MB More... | |
| long long | m_flushCnt |
| nuber of unsynced blcoks on disk before flush is called More... | |
| time_t | m_cs_UVKeep |
| unverified checksum cache keep More... | |
| int | m_cs_Chk |
| Checksum check. More... | |
| bool | m_cs_ChkTLS |
| Allow TLS. More... | |
Contains parameters configurable from the xrootd config file.
| XrdPfc::Configuration::Configuration | ( | ) |
|
inline |
References m_fileUsageMax.
| void XrdPfc::Configuration::calculate_fractional_usages | ( | long long | du, |
| long long | fu, | ||
| double & | frac_du, | ||
| double & | frac_fu | ||
| ) |
|
inline |
References m_cs_Chk.
|
inline |
References m_cs_Chk.
|
inline |
References m_purgeColdFilesAge.
|
inline |
References XrdPfc::CSChk_Both, and m_cs_Chk.
|
inline |
References XrdPfc::CSChk_Both, and m_cs_Chk.
|
inline |
References XrdPfc::CSChk_Cache, and m_cs_Chk.
|
inline |
References XrdPfc::CSChk_Net, and m_cs_Chk.
|
inline |
References m_dirStatsDirGlobs, m_dirStatsDirs, and m_dirStatsMaxDepth.
|
inline |
|
inline |
References m_cs_UVKeep.
|
inline |
References m_cs_UVKeep.
| int XrdPfc::Configuration::m_accHistorySize |
max number of entries in access history part of cinfo file
| bool XrdPfc::Configuration::m_allow_xrdpfc_command |
flag for enabling access to /xrdpfc-command/ functionality.
| long long XrdPfc::Configuration::m_bufferSize |
prefetch buffer size, default 1MB
| int XrdPfc::Configuration::m_cs_Chk |
Checksum check.
Referenced by does_cschk_have_missing_bits(), get_cs_Chk(), is_cschk_any(), is_cschk_both(), is_cschk_cache(), and is_cschk_net().
| bool XrdPfc::Configuration::m_cs_ChkTLS |
Allow TLS.
| time_t XrdPfc::Configuration::m_cs_UVKeep |
unverified checksum cache keep
Referenced by is_uvkeep_purge_in_effect(), and should_uvkeep_purge().
| std::string XrdPfc::Configuration::m_data_space |
oss space for data files
| std::set<std::string> XrdPfc::Configuration::m_dirStatsDirGlobs |
directory globs for which stat reporting was requested
Referenced by is_dir_stat_reporting_on().
| std::set<std::string> XrdPfc::Configuration::m_dirStatsDirs |
directories for which stat reporting was requested
Referenced by is_dir_stat_reporting_on().
| int XrdPfc::Configuration::m_dirStatsMaxDepth |
maximum depth for statistics write out
Referenced by is_dir_stat_reporting_on().
| int XrdPfc::Configuration::m_dirStatsStoreDepth |
depth to which statistics should be collected
| long long XrdPfc::Configuration::m_diskTotalSpace |
total disk space on configured partition or oss space
| long long XrdPfc::Configuration::m_diskUsageHWM |
cache purge - disk usage high water mark
| long long XrdPfc::Configuration::m_diskUsageLWM |
cache purge - disk usage low water mark
| long long XrdPfc::Configuration::m_fileUsageBaseline |
cache purge - files usage baseline
| long long XrdPfc::Configuration::m_fileUsageMax |
cache purge - files usage maximum
Referenced by are_file_usage_limits_set().
| long long XrdPfc::Configuration::m_fileUsageNominal |
cache purge - files usage nominal
| long long XrdPfc::Configuration::m_flushCnt |
nuber of unsynced blcoks on disk before flush is called
| long long XrdPfc::Configuration::m_hdfsbsize |
used with m_hdfsmode, default 128MB
| bool XrdPfc::Configuration::m_hdfsmode |
flag for enabling block-level operation
| std::string XrdPfc::Configuration::m_meta_space |
oss space for metadata files (cinfo)
| int XrdPfc::Configuration::m_prefetch_max_blocks |
maximum number of blocks to prefetch per file
| int XrdPfc::Configuration::m_purgeAgeBasedPeriod |
peform cold file / uvkeep purge every this many purge cycles
| int XrdPfc::Configuration::m_purgeColdFilesAge |
purge files older than this age
Referenced by is_age_based_purge_in_effect().
| int XrdPfc::Configuration::m_purgeInterval |
sleep interval between cache purges
| long long XrdPfc::Configuration::m_RamAbsAvailable |
available from configuration
| int XrdPfc::Configuration::m_RamKeepStdBlocks |
number of standard-sized blocks kept after release
| std::string XrdPfc::Configuration::m_username |
username passed to oss plugin
| int XrdPfc::Configuration::m_wqueue_blocks |
maximum number of blocks written per write-queue loop
| int XrdPfc::Configuration::m_wqueue_threads |
number of threads writing blocks to disk
1.8.5