Closed johannesthoma closed 4 years ago
Retrying test without I/O .. no hangs so far (120 iterations). Also no hang so far when Primary and not doing I/O (100 iterations). Maybe something wrong (again) with starting syncing?
Attach also fails (after 20 iterations or so) when the reason for the detach was a disk fault (simulated with the inject-faults mechanism of WinDRBD).
This is (also) due to a bug in the WinDRBD waitqueue implementation. When waking up after 30 seconds, drbdadm attach also terminates after 30 seconds. Same bug causes drbdadm down to hang in a up (connect) down loop.
Fixed the wake_up call which fixes this hang. Patch will be contained in upcoming 1.0.0-rc8 release.
Ran for 70+ iterations now without hang, closing this issue.
100 iterations.
After 26 iterations of detach-attach-waitsync.sh the attach command hangs. Primary (Windows 7) doing I/O (over Secondary, which is Linux when detached). Once drbdadm attach hangs followup drbdadm commands also hang (like drbdadm status).
Relevant log lines are: