[Drbd-dev] DRBD-8: Fix to Negotiating state handling
Graham, Simon
Simon.Graham at stratus.com
Sun Sep 17 18:10:01 CEST 2006
Ignore previous email... I've figured out what I did wrong (test was in
the wrong place) -- I also left out the code to have the receiver of a
negotiating state update it's peer state to UpToDate instead of
Negotiating...
Final, really working but possibly not entirely correct, patch
attached...
Simon
> -----Original Message-----
> From: Graham, Simon
> Sent: Sunday, September 17, 2006 11:04 AM
> To: Graham, Simon; drbd-dev at linbit.com
> Subject: RE: [Drbd-dev] DRBD-8: Fix to Negotiating state handling
>
> Hmm - not sure what I was on the other day, but this patch was wrong
--
> I was comparing the local disk state to negotiating instead of the
> peers state! Still doesn't seem to be working right though... any
> better suggestions?
>
> Simon
>
> > -----Original Message-----
> > From: drbd-dev-bounces at linbit.com [mailto:drbd-dev-
> bounces at linbit.com]
> > On Behalf Of Graham, Simon
> > Sent: Friday, September 15, 2006 4:30 PM
> > To: drbd-dev at linbit.com
> > Subject: [Drbd-dev] DRBD-8: Fix to Negotiating state handling
> >
> > I took the latest update today and found that when I did
> detach/attach,
> > the side attaching would never exit the Negotiating state - the
other
> > side updated it's view of the peer correctly, but it never sent
> > anything
> > back to the originating side to make it go from Negotiating to
> UpToDate
> > - I _think_ the expected thing here is to send back a ReportState
> > message when we are Connected _and_ the peer says its Negotiating --
> > patch attached that seems to work...
> >
> > Simon
> >
-------------- next part --------------
A non-text attachment was scrubbed...
Name: connpatch.patch
Type: application/octet-stream
Size: 891 bytes
Desc: connpatch.patch
Url : http://lists.linbit.com/pipermail/drbd-dev/attachments/20060917/8da60b55/connpatch.obj
More information about the drbd-dev
mailing list