Philipp Reisner 370a43e798 drbd: Work on the Ahead -> SyncSource transition
The test if rs_pending_cnt == 0 was too weak. Using Test for
unacked_cnt == 0 instead. Moved that into the worker.

Since unacked_cnt gets already increased when an P_RS_DATA_REQ
comes in.

Also using a timer to make Ahead -> SyncSource -> Ahead cycles
slower...

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
2011-03-10 11:45:36 +01:00
..
2010-11-16 13:33:23 -08:00
2010-02-22 13:44:45 +01:00
2011-03-10 08:52:07 +01:00
2011-03-10 08:52:07 +01:00
2011-01-05 16:29:17 -05:00
2011-02-11 16:12:20 -08:00
2009-03-26 21:15:27 +01:00
2011-03-09 19:54:28 +01:00