]> Pileus Git - ~andy/linux/blobdiff - drivers/md/bitmap.h
Merge branch 'rc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuil...
[~andy/linux] / drivers / md / bitmap.h
index cb821d76d1b4ebe7c8ad8aa2e44ab4c10b20f6f2..3797dea4723a3ea81b52da362ef5101e6d5e382b 100644 (file)
@@ -227,6 +227,7 @@ struct bitmap {
        int allclean;
 
        atomic_t behind_writes;
+       unsigned long behind_writes_used; /* highest actual value at runtime */
 
        /*
         * the bitmap daemon - periodically wakes up and sweeps the bitmap
@@ -239,6 +240,7 @@ struct bitmap {
        atomic_t pending_writes; /* pending writes to the bitmap file */
        wait_queue_head_t write_wait;
        wait_queue_head_t overflow_wait;
+       wait_queue_head_t behind_wait;
 
        struct sysfs_dirent *sysfs_can_clear;
 };