Re: REVIEW: Write primary superblock info to ALL secondaries during mkfs

Eric Sandeen
2008-03-26T02:06:56Z

Mark Goodwin wrote:
>
> Eric Sandeen wrote:

>> One related thing I'd always wondered about was stamping a secondary at
>> the very end of the device (and therefore shrinking the fs by just a
>> bit) - repair could then do a quick check at the end of the device
>> before resorting to scanning for the 2nd backup... would this make any
>> sense?
>
> I guess it might, Barry what do you think? Probably makes grow a bit
> more complicated. What would repair do if it doesn't find the backup
> SB at the end of the device? We'd need a new SB flag to indicate it's
> supposed to be there, which seems a bit chicken-and-egg'ish ...

If not found at the end, just go back to the original search scheme, I'd
say...

-Eric