Re: [DRBD-user] drbd 8.4.6-5 oops when disconnect

2017-08-13 Thread li songmin
It seems connection->cstate only update via P_CONN_ST_CHG_REQ, but drbd 8.3 send req via P_STATE_CHG_REQ. 2017-08-11 14:12 GMT+08:00 li songmin : > > When I debug the crash, when oops occurs, the cstate of connection is > C_WF_REPORT_PARAMS but not C_TEAR_DOWN. > > So this problem may also occur

Re: [DRBD-user] drbd 8.4.6-5 oops when disconnect

2017-08-10 Thread li songmin
When I debug the crash, when oops occurs, the cstate of connection is C_WF_REPORT_PARAMS but not C_TEAR_DOWN. So this problem may also occurs up to 8.4.10 in may opinion. the order of change state and init ack_sender in conn_connect function is: ``` rv = conn_request_state(connection, NS(con

Re: [DRBD-user] drbd 8.4.6-5 oops when disconnect during upgrade

2017-08-10 Thread li songmin
Hi, Some info may help here. When oops occurs on secondary node, I found it log with "meta connection shut down by peer". <6>[ 7423.143569] block drbd0: peer( Primary -> Unknown ) conn( SyncTarget -> TearDown ) pdsk( UpToDate -> DUnknown ) <3>[ 7423.191698] drbd drbd0: meta connection shut down

Re: [DRBD-user] drbd 8.4.6-5 oops when disconnect

2017-08-10 Thread Lars Ellenberg
On Wed, Aug 09, 2017 at 05:20:22PM +0800, li songmin wrote: > Hi, > > when I upgrade fdrbd rom 8.3.15 to 8.4.6-5, there is an oops cause by NULL > pointer Error. We are at 8.4.10 already. Just saying. > > upgrade step as follow: > > 1. primary node work as normal > 2. stop drbd 8.3.15 on seco