![]() |
CernVM-FS
2.11.0
|
#include <mountpoint.h>
Public Member Functions | |
IoErrorInfo () | |
void | Reset () |
void | AddIoError () |
void | SetCounter (perf::Counter *c) |
int64_t | count () |
time_t | timestamp_last () |
Private Attributes | |
perf::Counter * | counter_ |
time_t | timestamp_last_ |
Keeps information about I/O errors, e.g. writing local files, permanent network errors, etc. It counts the number of errors and the timestamp of the latest errors for consumption by monitoring tools such as Nagios
Definition at line 160 of file mountpoint.h.
FileSystem::IoErrorInfo::IoErrorInfo | ( | ) |
Definition at line 84 of file mountpoint.cc.
void FileSystem::IoErrorInfo::AddIoError | ( | ) |
Definition at line 91 of file mountpoint.cc.
Referenced by cvmfs::cvmfs_open(), LibContext::Open(), and FuseRemounter::SetOfflineMode().
int64_t FileSystem::IoErrorInfo::count | ( | ) |
Definition at line 98 of file mountpoint.cc.
Referenced by NIOErrMagicXattr::GetValue().
void FileSystem::IoErrorInfo::Reset | ( | ) |
Definition at line 86 of file mountpoint.cc.
Referenced by FileSystem::ResetErrorCounters().
void FileSystem::IoErrorInfo::SetCounter | ( | perf::Counter * | c | ) |
Definition at line 96 of file mountpoint.cc.
Referenced by FileSystem::CreateStatistics().
time_t FileSystem::IoErrorInfo::timestamp_last | ( | ) |
Definition at line 100 of file mountpoint.cc.
Referenced by TimestampLastIOErrMagicXattr::GetValue().
|
private |
Definition at line 171 of file mountpoint.h.
|
private |
Definition at line 172 of file mountpoint.h.