]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.h
Extra option for set_array_state: you choose dirty or clean.
authorNeilBrown <neilb@suse.de>
Tue, 19 Aug 2008 04:54:55 +0000 (14:54 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 19 Aug 2008 04:54:55 +0000 (14:54 +1000)
commit01f157d74ab29d3acf46800ffdaac3a0d0345b51
tree57520e26c75ab39ba8689ee476fbd5ed65690161
parent9296754385aa1fecb45097ba06fc82cbc0e5f14a
Extra option for set_array_state: you choose dirty or clean.

When we first start an array, it might be good to start recovery
straight away.  That requires setting the array to 'dirty', but
only the metadata handler can know if that is required or not.
So have a third possible 'consistent' option to set_array_state.
Either 'no' or 'yes' or 'you choose'.

Return value indicates what was chosen.

'1' (no) should be chosen unless there is a good reason.

Signed-off-by: NeilBrown <neilb@suse.de>
mdadm.h
monitor.c
super-ddf.c
super-intel.c