summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2011-08-04 08:33:08 (GMT)
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-05-09 13:15:46 (GMT)
commit1e86ac48af137a3cfd48cba727e7abe132dfc8de (patch)
tree0ba3f9c72f8a7fb2972b8df5ac11d352db48f97a /README
parent80f9fd55a66a6843373330901564ef2d9c7fb050 (diff)
downloadlinux-fsl-qoriq-1e86ac48af137a3cfd48cba727e7abe132dfc8de.tar.xz
drbd: Bugfix for the connection behavior
If we get into the C_BROKEN_PIPE cstate once, the state engine set the thi->t_state of the receiver thread to restarting. But with the while loop in drbdd_init() a new connection gets established. After the call into drbdd() returns immediately since the thi->t_state is not RUNNING. The restart of drbd_init() then resets thi->t_state to RUNNING. I.e. after entering C_BROKEN_PIPE once, the next successful established connection gets wasted. The two parts of the fix: * Do not cause the thread to restart if we detect the issue with the sockets while we are in C_WF_CONNECTION. * Make sure that all actions that would have set us to C_BROKEN_PIPE happen before the state change to C_WF_REPORT_PARAMS. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions