SOS: Scalable Object Store  4.0.0
 All Classes Functions Variables Typedefs Enumerations Enumerator Groups Pages
Partition Types

Classes

struct  sos_part_stat_s
 

Macros

#define SOS_PART_NAME_DEFAULT   "00000000"
 
#define SOS_PART_NAME_LEN   64
 
#define SOS_PART_PATH_LEN   512
 

Typedefs

typedef enum sos_part_state_e sos_part_state_t
 
typedef struct sos_part_stat_ssos_part_stat_t
 
typedef struct sos_part_iter_s * sos_part_iter_t
 
typedef struct sos_part_s * sos_part_t
 

Enumerations

enum  sos_part_state_e { SOS_PART_STATE_OFFLINE = 0, SOS_PART_STATE_ACTIVE = 1, SOS_PART_STATE_PRIMARY = 2, SOS_PART_STATE_BUSY = 3 }
 

Detailed Description

Macro Definition Documentation

#define SOS_PART_NAME_LEN   64

The maximum length of a partition name

#define SOS_PART_PATH_LEN   512

The maximum length of a partition path

Typedef Documentation

typedef struct sos_part_stat_s * sos_part_stat_t

Describes a Partitions storage attributes

Enumeration Type Documentation

Enumerator
SOS_PART_STATE_OFFLINE 

Partition is not being used

SOS_PART_STATE_ACTIVE 

Consulted for queries/iteration

SOS_PART_STATE_PRIMARY 

New objects stored here

SOS_PART_STATE_BUSY 

Partition is undergoing state change