Merging upstream version 4.3+20241108.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
1e24552bfc
commit
60ccb5b596
64 changed files with 2015 additions and 1768 deletions
12
mdmon.h
12
mdmon.h
|
@ -48,8 +48,14 @@ struct active_array {
|
|||
enum array_state prev_state, curr_state, next_state;
|
||||
enum sync_action prev_action, curr_action, next_action;
|
||||
|
||||
int check_degraded; /* flag set by mon, read by manage */
|
||||
int check_reshape; /* flag set by mon, read by manage */
|
||||
bool check_degraded : 1; /* flag set by mon, read by manage */
|
||||
bool check_reshape : 1; /* flag set by mon, read by manage */
|
||||
|
||||
/**
|
||||
* Signalize managemon there is a mdi to be removed.
|
||||
* Monitor must acknowledge faulty state first.
|
||||
*/
|
||||
bool check_member_remove : 1;
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -78,7 +84,7 @@ void do_manager(struct supertype *container);
|
|||
extern int sigterm;
|
||||
|
||||
int read_dev_state(int fd);
|
||||
int is_container_member(struct mdstat_ent *mdstat, char *container);
|
||||
bool is_container_member(struct mdstat_ent *mdstat, char *container);
|
||||
|
||||
struct mdstat_ent *mdstat_read(int hold, int start);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue