]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/md/md.h
ps3_gelic: Don't kill the device on DMA failure
[karo-tx-linux.git] / drivers / md / md.h
index 0b1fd3f1d85b5decfaaba4ab8b70595fffbaba1f..1c26c7a08ae6c053524cbee6c751c84935c5cfe3 100644 (file)
@@ -124,6 +124,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_ARRAY_FIRST_USE 3    /* First use of array, needs initialization */
 
        int                             suspended;
        atomic_t                        active_io;
@@ -330,6 +331,7 @@ struct mddev_s
        atomic_t flush_pending;
        struct work_struct flush_work;
        struct work_struct event_work;  /* used by dm to report failure event */
+       void (*sync_super)(mddev_t *mddev, mdk_rdev_t *rdev);
 };