RE: RE: [Opendlm-devel] ODLM/OGFS Recovery

"Zickus II, Don" <[email protected]> Tue, 4 May 2004 10:35:45 -0400
Newsgroups gmane.comp.file-systems.opengfs.devel
Message-ID <[email protected]>

> > I think this is handled during ODLM's lock recovery process, which=20
> > invalidates LVBs that might have been altered by a dead node.  See
> > clmr_clean() and clmr_lkvlb().
>=20
> Yes, ODLM will invalidate LVBs that might have been altered=20
> by a dead node. But my concern is :=20
>=20
> If there is only one PW or EX lock request in the wait queue=20
> of this resource, we won't get DLM_VALNOTVALID (even the LVB=20
> of this resouce is
> invalid) when the queued request is granted.
>=20
> It means that we might miss some locks held by dead node.=20
> Please read:=20
> rc_barrier6->wake_all_locks->convert_locks->grant_convert->valueblock
>=20
> Any comments?
>=20

By the time it gets to valueblock, the resource has already been =
invalidated such that the only code path it would take in valueblock() =
is the very last _else_ statement (assuming the first node with the =
granting lock will also be the master) which returns DLM_VALNOTVALID.

Do you see it differently?

Best Regards,
Don




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click