diff options
author | NeilBrown <neilb@suse.de> | 2008-08-19 17:55:15 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2008-08-19 17:55:15 +1000 |
commit | e9dd159873cfa0da1ec3e4f173c24f330ea526f8 (patch) | |
tree | f95abf6b0736b9f7a0bd3743d037bc8f3f7b793d /mdmon.h | |
parent | 3c558363a1991430e8a9e10c93ee9ee3f8996940 (diff) | |
download | mdadm-e9dd159873cfa0da1ec3e4f173c24f330ea526f8.tar.gz mdadm-e9dd159873cfa0da1ec3e4f173c24f330ea526f8.tar.xz mdadm-e9dd159873cfa0da1ec3e4f173c24f330ea526f8.zip |
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 <neilb@suse.de>
Diffstat (limited to 'mdmon.h')
-rw-r--r-- | mdmon.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |