]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/raid/raid5.h
md: replace R5_WantPrexor with R5_WantDrain, add 'prexor' reconstruct_states
[linux-2.6-omap-h63xx.git] / include / linux / raid / raid5.h
index 5f3e674b87dddf9cf5cd38dab9d176cd1d92234e..3b2672792457ff08b991acb78e619f3daa3dab6e 100644 (file)
@@ -187,8 +187,10 @@ enum check_states {
  */
 enum reconstruct_states {
        reconstruct_state_idle = 0,
+       reconstruct_state_prexor_drain_run,     /* prexor-write */
        reconstruct_state_drain_run,            /* write */
        reconstruct_state_run,                  /* expand */
+       reconstruct_state_prexor_drain_result,
        reconstruct_state_drain_result,
        reconstruct_state_result,
 };
@@ -258,9 +260,7 @@ struct r6_state {
 #define        R5_Wantfill     12 /* dev->toread contains a bio that needs
                                    * filling
                                    */
-#define        R5_Wantprexor   13 /* distinguish blocks ready for rmw from
-                                   * other "towrites"
-                                   */
+#define R5_Wantdrain   13 /* dev->towrite needs to be drained */
 /*
  * Write method
  */