Re: [osd-dev] [PATCH 1/9] exofs: osd Swiss army knife

From: Jamie Lokier
Date: Tue Jan 13 2009 - 10:10:36 EST


Alan Cox wrote:
> > > +#define EXOFS_SUPER_ID 0x10000 /* object ID for on-disk superblock */
>
> And if an OS failure breaks the super block and you have only one how do
> you recover it ?

Having one super block would be silly.

But aren't most kinds of replication better done behind the OSD level,
on the storage fabric? OSD is all about letting the fabric decide
things like allocation and durability strategies after all.

With multiple super blocks at the filesystem level, some OS failures
that would trash one of the super blocks would simply trash all the copies.

I wonder how much less likely trashing one super block object than
trashing a set of them would be.

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