From e9dd159873cfa0da1ec3e4f173c24f330ea526f8 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Tue, 19 Aug 2008 17:55:15 +1000 Subject: Allow an externally managed array to be marked readonly If the metadata_version is -mdXXX/whatever rather than /mdXXX/whatever then the array is readonly and should be left alone by mdmon. Signed-off-by: NeilBrown --- mdmon.h | 1 + 1 file changed, 1 insertion(+) (limited to 'mdmon.h') diff --git a/mdmon.h b/mdmon.h index 6c1961ad..b3f4d6e7 100644 --- a/mdmon.h +++ b/mdmon.h @@ -19,6 +19,7 @@ struct active_array { int action_fd; int resync_start_fd; + int metadata_fd; /* for monitoring rw/ro status */ enum array_state prev_state, curr_state, next_state; enum sync_action prev_action, curr_action, next_action; -- cgit v1.2.3