XrdPfc::Configuration Struct Reference

Contains parameters configurable from the xrootd config file. More...

#include <XrdPfc.hh>

List of all members.

Public Member Functions

 Configuration ()
bool are_file_usage_limits_set () const
bool is_age_based_purge_in_effect () const
bool is_purge_plugin_set_up () const
void calculate_fractional_usages (long long du, long long fu, double &frac_du, double &frac_fu)
bool are_dirstats_enabled () const

Public Attributes

bool m_hdfsmode
 flag for enabling block-level operation
bool m_allow_xrdpfc_command
 flag for enabling access to /xrdpfc-command/ functionality.
std::string m_username
 username passed to oss plugin
std::string m_data_space
 oss space for data files
std::string m_meta_space
 oss space for metadata files (cinfo)
long long m_diskTotalSpace
 total disk space on configured partition or oss space
long long m_diskUsageLWM
 cache purge - disk usage low water mark
long long m_diskUsageHWM
 cache purge - disk usage high water mark
long long m_fileUsageBaseline
 cache purge - files usage baseline
long long m_fileUsageNominal
 cache purge - files usage nominal
long long m_fileUsageMax
 cache purge - files usage maximum
int m_purgeInterval
 sleep interval between cache purges
int m_purgeColdFilesAge
 purge files older than this age
int m_purgeColdFilesPeriod
 peform cold file purge every this many purge cycles
int m_accHistorySize
 max number of entries in access history part of cinfo file
std::set< std::string > m_dirStatsDirs
 directories for which stat reporting was requested
std::set< std::string > m_dirStatsDirGlobs
 directory globs for which stat reporting was requested
int m_dirStatsMaxDepth
 maximum depth for statistics write out
int m_dirStatsStoreDepth
 depth to which statistics should be collected
bool m_dirStats
 is directory access / usage statistics enabled
long long m_bufferSize
 prefetch buffer size, default 1MB
long long m_RamAbsAvailable
 available from configuration
int m_RamKeepStdBlocks
 number of standard-sized blocks kept after release
int m_wqueue_blocks
 maximum number of blocks written per write-queue loop
int m_wqueue_threads
 number of threads writing blocks to disk
int m_prefetch_max_blocks
 maximum number of blocks to prefetch per file
long long m_hdfsbsize
 used with m_hdfsmode, default 128MB
long long m_flushCnt
 nuber of unsynced blcoks on disk before flush is called

Detailed Description

Contains parameters configurable from the xrootd config file.


Constructor & Destructor Documentation

XrdPfc::Configuration::Configuration (  )  [inline]

Member Function Documentation

bool XrdPfc::Configuration::are_dirstats_enabled (  )  const [inline]

References m_dirStats.

bool XrdPfc::Configuration::are_file_usage_limits_set (  )  const [inline]

References m_fileUsageMax.

void XrdPfc::Configuration::calculate_fractional_usages ( long long  du,
long long  fu,
double &  frac_du,
double &  frac_fu 
)
bool XrdPfc::Configuration::is_age_based_purge_in_effect (  )  const [inline]

References m_purgeColdFilesAge.

bool XrdPfc::Configuration::is_purge_plugin_set_up (  )  const [inline]

Member Data Documentation

max number of entries in access history part of cinfo file

flag for enabling access to /xrdpfc-command/ functionality.

prefetch buffer size, default 1MB

oss space for data files

is directory access / usage statistics enabled

Referenced by are_dirstats_enabled().

directory globs for which stat reporting was requested

directories for which stat reporting was requested

maximum depth for statistics write out

depth to which statistics should be collected

total disk space on configured partition or oss space

cache purge - disk usage high water mark

cache purge - disk usage low water mark

cache purge - files usage baseline

cache purge - files usage maximum

Referenced by are_file_usage_limits_set().

cache purge - files usage nominal

nuber of unsynced blcoks on disk before flush is called

used with m_hdfsmode, default 128MB

flag for enabling block-level operation

oss space for metadata files (cinfo)

maximum number of blocks to prefetch per file

purge files older than this age

Referenced by is_age_based_purge_in_effect().

peform cold file purge every this many purge cycles

sleep interval between cache purges

available from configuration

number of standard-sized blocks kept after release

username passed to oss plugin

maximum number of blocks written per write-queue loop

number of threads writing blocks to disk


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 7 Jul 2020 for xrootd by  doxygen 1.6.1