I finally noticed that this bit is STILL missing...
Please Ingo, either scrap the current superblock entirely,
or INCLUDE this patch in!

Now of course the RH 6.0 does contain this BUG, and all Alpha,
and SPARC(64) systems (very least) create wrong format superblocks,
which are not understandable by e.g. ia32 systems.

By the way, I would like to have these endianity independent, that way
I could mount same disk also at e.g. ia32 system thru fiber-channel
fabric...  (No, I am not quite yet doing that...)

        /Matti Aarnio <[EMAIL PROTECTED]>

--- include/linux/raid/md_p.h~  Wed Jun 16 18:50:24 1999
+++ include/linux/raid/md_p.h   Thu Jun 17 15:13:25 1999
@@ -128,7 +128,7 @@
        __u32 failed_disks;     /*  4 Number of failed disks                  */
        __u32 spare_disks;      /*  5 Number of spare disks                   */
        __u32 sb_csum;          /*  6 checksum of the whole superblock        */
-       __u64 events;           /*  7 number of superblock updates (64-bit!)  */
+__u64 events __attribute__((packed));  /*  7 number of superblock updates (64-bit!)  
+*/
        __u32 gstate_sreserved[MD_SB_GENERIC_STATE_WORDS - 9];
 
        /*

Reply via email to