mirror of
git://sourceware.org/git/lvm2.git
synced 2025-08-03 08:22:00 +03:00
libdm: parse more info from cache status
Parse Fail/Error/need_check/ro status info from cache.
This commit is contained in:
@ -361,8 +361,14 @@ struct dm_status_cache {
|
||||
char **core_argv;
|
||||
|
||||
char *policy_name;
|
||||
int policy_argc;
|
||||
int policy_argc;
|
||||
char **policy_argv;
|
||||
|
||||
unsigned error : 1; /* detected error (switches to fail soon) */
|
||||
unsigned fail : 1; /* all I/O fails */
|
||||
unsigned needs_check : 1; /* metadata needs check */
|
||||
unsigned read_only : 1; /* metadata may not be changed */
|
||||
uint32_t reserved : 28;
|
||||
};
|
||||
|
||||
int dm_get_status_cache(struct dm_pool *mem, const char *params,
|
||||
|
Reference in New Issue
Block a user