Skip to content
API Documentation
BastionGuard™
DeviceHealthReport Struct Reference

#include <device_health_probe.hpp>

Public Attributes

std::string device_path
uint64_t total_size {0}
uint32_t logical_sector_size {512}
bool open_ok {false}
bool read_lba0_ok {false}
bool read_tail_ok {false}
bool intermittent_failures {false}
bool size_suspicious {false}
bool unstable_latency {false}
DeviceHealthState state {DeviceHealthState::NotReadable}
std::vector< DeviceProbeSample > samples
std::string summary

Detailed Description

Definition at line 25 of file device_health_probe.hpp.

Member Data Documentation

◆ device_path

std::string DeviceHealthReport::device_path

Definition at line 26 of file device_health_probe.hpp.

Referenced by DeviceHealthProbe::probe().

◆ intermittent_failures

bool DeviceHealthReport::intermittent_failures {false}

Definition at line 32 of file device_health_probe.hpp.

Referenced by DeviceHealthProbe::probe().

◆ logical_sector_size

uint32_t DeviceHealthReport::logical_sector_size {512}

Definition at line 28 of file device_health_probe.hpp.

Referenced by DeviceHealthProbe::probe().

◆ open_ok

bool DeviceHealthReport::open_ok {false}

Definition at line 29 of file device_health_probe.hpp.

Referenced by DeviceHealthProbe::probe().

◆ read_lba0_ok

bool DeviceHealthReport::read_lba0_ok {false}

Definition at line 30 of file device_health_probe.hpp.

Referenced by DeviceHealthProbe::probe().

◆ read_tail_ok

bool DeviceHealthReport::read_tail_ok {false}

Definition at line 31 of file device_health_probe.hpp.

Referenced by DeviceHealthProbe::probe().

◆ samples

std::vector<DeviceProbeSample> DeviceHealthReport::samples

Definition at line 36 of file device_health_probe.hpp.

Referenced by DeviceHealthProbe::probe().

◆ size_suspicious

bool DeviceHealthReport::size_suspicious {false}

Definition at line 33 of file device_health_probe.hpp.

Referenced by DeviceHealthProbe::probe().

◆ state

Definition at line 35 of file device_health_probe.hpp.

Referenced by DeviceHealthProbe::probe().

◆ summary

std::string DeviceHealthReport::summary

Definition at line 37 of file device_health_probe.hpp.

Referenced by DeviceHealthProbe::probe().

◆ total_size

uint64_t DeviceHealthReport::total_size {0}

Definition at line 27 of file device_health_probe.hpp.

Referenced by DeviceHealthProbe::probe().

◆ unstable_latency

bool DeviceHealthReport::unstable_latency {false}

Definition at line 34 of file device_health_probe.hpp.

Referenced by DeviceHealthProbe::probe().


The documentation for this struct was generated from the following file: