Re: RFC - new raid superblock layout for md driver

From: Jeremy Fitzhardinge (jeremy@goop.org)
Date: Fri Nov 22 2002 - 02:11:28 EST


On Tue, 2002-11-19 at 20:09, Neil Brown wrote:
> My current design looks like:
> /* constant array information - 128 bytes */
> u32 md_magic
> u32 major_version == 1
> u32 feature_map /* bit map of extra features in superblock */
> u32 set_uuid[4]
> u32 ctime
> u32 level
> u32 layout
> u64 size /* size of component devices, if they are all
> * required to be the same (Raid 1/5 */
Can you make 64 bit fields 64 bit aligned? I think PPC will lay this
structure out with padding before size, which may well cause confusion.
If your routines to load and save the header don't depend on structure
layout, then it doesn't matter.
        J

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:39 EST