#include <obj.h>
Storage device.
Definition at line 615 of file obj.h.
◆ sd_bsize
Block size in bytes.
Definition at line 641 of file obj.h.
◆ sd_dev_idx
Device index. The value should be unique and belong [0, P) range, where P is a total number of devices under CAS/IOS services in the filesystem.
Definition at line 635 of file obj.h.
◆ sd_drive
Fid of the corresponding drive object.
- Note
- This can be M0_FID0 if no drive object is defined for this sdev. This can happen, for example, when the drive is failed, taken away, but not replaced yet.
- Todo:
- XXX DELETEME
Definition at line 628 of file obj.h.
◆ sd_filename
Filename in host OS.
Definition at line 649 of file obj.h.
◆ sd_flags
Property flags. See m0_cfg_flag_bit.
Definition at line 647 of file obj.h.
◆ sd_iface
Interface type. See m0_cfg_storage_device_interface_type.
Definition at line 637 of file obj.h.
◆ sd_last_state
Last known state. See m0_cfg_state_bit.
Definition at line 645 of file obj.h.
◆ sd_media
Media type. See m0_cfg_storage_device_media_type.
Definition at line 639 of file obj.h.
◆ sd_obj
◆ sd_size
Size in bytes.
Definition at line 643 of file obj.h.
The documentation for this struct was generated from the following file: