]> 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 a3725b57fb7d973c11cfd7dc01773bb3b4e0e8b6..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.