]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - bitmap.h
mdmon: fix wrong array state when disk fails during mdmon startup
[thirdparty/mdadm.git] / bitmap.h
index adbf0b4b48bc097ee3df7e3eb6de02715e995e19..7b1f80f2e8f64a80ddf298e936d579e813d6cf36 100644 (file)
--- a/bitmap.h
+++ b/bitmap.h
@@ -12,6 +12,7 @@
  */
 #define BITMAP_MAJOR_HI 4
 #define        BITMAP_MAJOR_HOSTENDIAN 3
+#define        BITMAP_MAJOR_CLUSTERED 5
 
 #define BITMAP_MINOR 39
 
@@ -45,7 +46,7 @@
  *
  * The counter counts pending write requests, plus the on-disk bit.
  * When the counter is '1' and the resync bits are clear, the on-disk
- * bit can be cleared aswell, thus setting the counter to 0.
+ * bit can be cleared as well, thus setting the counter to 0.
  * When we set a bit, or in the counter (to start a write), if the fields is
  * 0, we first set the disk bit and set the counter to 1.
  *
@@ -184,7 +185,7 @@ struct bitmap_page {
         */
        char *map;
        /*
-        * in emergencies (when map cannot be alloced), hijack the map
+        * in emergencies (when map cannot be allocated), hijack the map
         * pointer and use it as two counters itself
         */
        unsigned int hijacked;