Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 2009 14:37:55 -0700
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        rick-freebsd2008@kiwi-computer.com
Cc:        Ivan Voras <ivoras@freebsd.org>, freebsd-geom@freebsd.org
Subject:   Re: gmirror gm0 destroyed on shutdown; GPT corrupt
Message-ID:  <704EE47D-F0C4-4C63-AA3C-3ADF92CC8379@mac.com>
In-Reply-To: <20090629210003.GA24038@keira.kiwi-computer.com>
References:  <20090625110253.GA31443@mech-cluster238.men.bris.ac.uk> <10FCC74D-6D46-4112-AD89-BBB4C5933957@mac.com> <h24v15$70v$1@ger.gmane.org> <2FFFB36F-EFA3-4D92-98A3-692BA2D6F63E@mac.com> <20090629210003.GA24038@keira.kiwi-computer.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jun 29, 2009, at 2:00 PM, Rick C. Petty wrote:

> [[ Removing the double cross-post, since this is GEOM-specific ]]
>
> On Sat, Jun 27, 2009 at 06:20:49PM -0700, Marcel Moolenaar wrote:
>>
>> Using the last sector is not only flawed because it creates a race
>> condition,
>
> It shouldn't create a race condition.

It does.

Answer the following:

foo0 is a provider with 3 sectors.
bar is a geom class that puts meta-data in the first sector.
baz is a geom class that puts meta-data in the last sector.

Both bar and baz get to taste foo0. Which one should go first?

-- 
Marcel Moolenaar
xcllnt@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?704EE47D-F0C4-4C63-AA3C-3ADF92CC8379>