mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
libdm: add some doc for mirror status
Comment content of struct for mirror status.
This commit is contained in:
parent
c24d913c47
commit
45781161f4
@ -300,19 +300,19 @@ typedef enum {
|
|||||||
struct dm_status_mirror {
|
struct dm_status_mirror {
|
||||||
uint64_t total_regions;
|
uint64_t total_regions;
|
||||||
uint64_t insync_regions;
|
uint64_t insync_regions;
|
||||||
uint32_t dev_count;
|
uint32_t dev_count; /* # of devs[] elements (<= 8) */
|
||||||
struct {
|
struct {
|
||||||
dm_status_mirror_health_t health;
|
dm_status_mirror_health_t health;
|
||||||
uint32_t major;
|
uint32_t major;
|
||||||
uint32_t minor;
|
uint32_t minor;
|
||||||
} *devs;
|
} *devs; /* array with individual legs */
|
||||||
const char *log_type;
|
const char *log_type; /* core, disk,.... */
|
||||||
uint32_t log_count;
|
uint32_t log_count; /* # of logs[] elements */
|
||||||
struct {
|
struct {
|
||||||
dm_status_mirror_health_t health;
|
dm_status_mirror_health_t health;
|
||||||
uint32_t major;
|
uint32_t major;
|
||||||
uint32_t minor;
|
uint32_t minor;
|
||||||
} *logs;
|
} *logs; /* array with individual logs */
|
||||||
};
|
};
|
||||||
|
|
||||||
int dm_get_status_mirror(struct dm_pool *mem, const char *params,
|
int dm_get_status_mirror(struct dm_pool *mem, const char *params,
|
||||||
|
Loading…
Reference in New Issue
Block a user