diff mbox

[PATCH <missing> of 8: MD new mddev flag value

Message ID 1292024236.15299.29.camel@hydrogen.msp.redhat.com (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Jonthan Brassow Dec. 10, 2010, 11:37 p.m. UTC
None
diff mbox

Patch

Index: linux-2.6/drivers/md/md.h
===================================================================
--- linux-2.6.orig/drivers/md/md.h
+++ linux-2.6/drivers/md/md.h
@@ -140,6 +140,7 @@  struct mddev_s
 #define MD_CHANGE_DEVS	0	/* Some device status has changed */
 #define MD_CHANGE_CLEAN 1	/* transition to or from 'clean' */
 #define MD_CHANGE_PENDING 2	/* switch from 'clean' to 'active' in progress */
+#define MD_SYNC_STATE_FORCED 4  /* recovery_cp is set and must be honored */
 
 	int				suspended;
 	atomic_t			active_io;