]> err.no Git - linux-2.6/blobdiff - include/linux/raid/md_k.h
Merge master.kernel.org:/pub/scm/linux/kernel/git/lenb/to-linus
[linux-2.6] / include / linux / raid / md_k.h
index 3e977025cf434a93b5044970c73cff149e2ffc7e..8c14ba565a45b95093b0a65e113bda2898f1d358 100644 (file)
@@ -262,6 +262,7 @@ struct mddev_s
 
        spinlock_t                      write_lock;
        wait_queue_head_t               sb_wait;        /* for waiting on superblock updates */
+       atomic_t                        pending_writes; /* number of active superblock writes */
 
        unsigned int                    safemode;       /* if set, update "clean" superblock
                                                         * when no writes pending.
@@ -273,6 +274,10 @@ struct mddev_s
 
        struct bitmap                   *bitmap; /* the bitmap for the device */
        struct file                     *bitmap_file; /* the bitmap file */
+       long                            bitmap_offset; /* offset from superblock of
+                                                       * start of bitmap. May be
+                                                       * negative, but not '0'
+                                                       */
 
        struct list_head                all_mddevs;
 };