Motr
M0
|
#include <storage_dev.h>
Data Fields | |
enum m0_storage_dev_type | isd_type |
struct m0_stob * | isd_stob |
struct m0_stob_domain * | isd_domain |
uint64_t | isd_cid |
struct m0_tlink | isd_linkage |
struct m0_clink | isd_clink |
enum m0_ha_obj_state | isd_ha_state |
enum m0_conf_service_type | isd_srv_type |
uint64_t | isd_magic |
struct m0_ref | isd_ref |
struct m0_chan | isd_detached_chan |
struct m0_mutex | isd_detached_lock |
char * | isd_filename |
Data structure represents storage device object.
Definition at line 73 of file storage_dev.h.
uint64_t isd_cid |
Storage device ID.
Definition at line 81 of file storage_dev.h.
struct m0_clink isd_clink |
A link to receive HA state change notification. It waits on disk obj's wait channel, m0_conf_obj::co_ha_chan.
Definition at line 88 of file storage_dev.h.
struct m0_chan isd_detached_chan |
Signalled when the last reference is released and the object is detached.
Definition at line 106 of file storage_dev.h.
struct m0_mutex isd_detached_lock |
Definition at line 107 of file storage_dev.h.
struct m0_stob_domain* isd_domain |
Stob domain for stobs of device.
Definition at line 79 of file storage_dev.h.
char* isd_filename |
Filename duplicated from m0_conf_sdev::sd_filename after expired conf event is fired. The name is needed for matching existing storage device against newly delivered conf when the one becomes ready.
Definition at line 116 of file storage_dev.h.
enum m0_ha_obj_state isd_ha_state |
HA state associated with the disk corresponding to the storage device.
Definition at line 92 of file storage_dev.h.
struct m0_tlink isd_linkage |
Linkage into list of storage devices.
Definition at line 83 of file storage_dev.h.
uint64_t isd_magic |
Magic for isd_linkage
Definition at line 96 of file storage_dev.h.
struct m0_ref isd_ref |
Reference counter. Stob attach operation and a user which performs I/O to the stob must hold reference to this object.
Definition at line 101 of file storage_dev.h.
enum m0_conf_service_type isd_srv_type |
Type of the parent service.
Definition at line 94 of file storage_dev.h.
struct m0_stob* isd_stob |
Linux stob which is backing store for the AD stob domain.
Definition at line 77 of file storage_dev.h.
enum m0_storage_dev_type isd_type |
Type of underlying stobs.
Definition at line 75 of file storage_dev.h.