md: discard StateChanged device flag.
[deliverable/linux.git] / drivers / md / md.h
index 8e4c75c00d4628f76ca32e0aaab243e3aea70d4c..e4836c68b73e097e8a3012b3a1ea36e49b8a9d80 100644 (file)
@@ -74,9 +74,6 @@ struct mdk_rdev_s
 #define Blocked                8               /* An error occured on an externally
                                         * managed array, don't allow writes
                                         * until it is cleared */
-#define StateChanged   9               /* Faulty or Blocked has changed during
-                                        * interrupt, so it needs to be
-                                        * notified by the thread */
        wait_queue_head_t blocked_wait;
 
        int desc_nr;                    /* descriptor index in the superblock */
@@ -279,9 +276,6 @@ struct mddev_s
        atomic_t                        writes_pending; 
        struct request_queue            *queue; /* for plugging ... */
 
-       atomic_t                        write_behind; /* outstanding async IO */
-       unsigned int                    max_write_behind; /* 0 = sync */
-
        struct bitmap                   *bitmap; /* the bitmap for the device */
        struct {
                struct file             *file; /* the bitmap file */
@@ -305,6 +299,7 @@ struct mddev_s
        atomic_t                        max_corr_read_errors; /* max read retries */
        struct list_head                all_mddevs;
 
+       struct attribute_group          *to_remove;
        /* Generic barrier handling.
         * If there is a pending barrier request, all other
         * writes are blocked while the devices are flushed.
This page took 0.024083 seconds and 5 git commands to generate.