diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2011-01-14 16:03:11 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-03-10 11:45:36 +0100 |
commit | 370a43e7982dd497822097e0ae6022947ac2e7d4 (patch) | |
tree | a501836af9959177a1ef9b6746ab21c3b3af6d94 /block/blk-cgroup.h | |
parent | 71c78cfba232de8f61a4b1bbb6e876424d133407 (diff) | |
download | kernel_samsung_smdk4412-370a43e7982dd497822097e0ae6022947ac2e7d4.zip kernel_samsung_smdk4412-370a43e7982dd497822097e0ae6022947ac2e7d4.tar.gz kernel_samsung_smdk4412-370a43e7982dd497822097e0ae6022947ac2e7d4.tar.bz2 |
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>
Diffstat (limited to 'block/blk-cgroup.h')
0 files changed, 0 insertions, 0 deletions