<div dir="ltr">Dear Phil.<br><br>Sometime, the resource goes to standalone status on disconnecting phase.<br>So, we change the code like this;<br><br>void drbd_send_acks_wf(struct work_struct *ws)<br>{<br> ....<br><br>#ifdef _WIN32<br> if (err)<br> change_cstate(connection, C_NETWORK_FAILURE, CS_HARD); // CHAGNE from C_DISCONNECTING to C_NETWORK_FAILURE<br>#else<br> if (err)<br> change_cstate(connection, C_DISCONNECTING, CS_HARD);<br>#endif<br>}<br><br><br><br>On V8.4.7, the same position code is C_NETWORK_FAILURE, as follows;<br><br>void drbd_send_acks_wf(struct work_struct *ws)<br>{<br> .....<br> if (err) {<br> conn_request_state(connection, NS(conn, C_NETWORK_FAILURE), CS_HARD);<br> return;<br> }<br> .....<br>}<br><br><br>What do you think about our solution to prohibit from changing standalone on disconnecting phase?<br><br>Thanks.<br>
<div><br></div><div><br></div></div>