X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fmdadm.git;a=blobdiff_plain;f=mdmon.h;h=6c1961ad50a7e2fa2c4dc7414163e5d2fce9caab;hp=f1b6d76ea367a2ec55cb06df41bb173e4f0c0930;hb=1eb252b8488bbdd62ad602561fe8a90ef9079271;hpb=4e6e574a3e8eb2351ba1d850369630bf8879dfaf diff --git a/mdmon.h b/mdmon.h index f1b6d76e..6c1961ad 100644 --- a/mdmon.h +++ b/mdmon.h @@ -41,12 +41,6 @@ struct active_array { * superswitch. All common code sees them as opaque * blobs. */ -struct metadata_update { - int len; - char *buf; - void *space; /* allocated space that monitor will use */ - struct metadata_update *next; -}; extern struct metadata_update *update_queue, *update_queue_handled; #define MD_MAJOR 9 @@ -62,9 +56,10 @@ void do_monitor(struct supertype *container); void do_manager(struct supertype *container); int read_dev_state(int fd); +int get_resync_start(struct active_array *a); struct mdstat_ent *mdstat_read(int hold, int start); -extern struct superswitch super_ddf, super_ddf_bvd, super_ddf_svd; - extern int exit_now, manager_ready; +extern int mon_tid, mgr_tid; +extern int monitor_loop_cnt;