projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b949be5
)
drbd: reset ap_in_flight counter for new connections
author
Philipp Reisner
<philipp.reisner@linbit.com>
Wed, 27 Mar 2013 13:08:34 +0000
(14:08 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 28 Mar 2013 16:10:24 +0000
(10:10 -0600)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_receiver.c
patch
|
blob
|
history
diff --git
a/drivers/block/drbd/drbd_receiver.c
b/drivers/block/drbd/drbd_receiver.c
index 1921871ca9a8f30ad1294110dacbd46a3d0ebe2b..cd172b490a95fac8f43eacfe3edcdb7d756518b2 100644
(file)
--- a/
drivers/block/drbd/drbd_receiver.c
+++ b/
drivers/block/drbd/drbd_receiver.c
@@
-849,6
+849,7
@@
int drbd_connected(struct drbd_conf *mdev)
err = drbd_send_current_state(mdev);
clear_bit(USE_DEGR_WFC_T, &mdev->flags);
clear_bit(RESIZE_PENDING, &mdev->flags);
+ atomic_set(&mdev->ap_in_flight, 0);
mod_timer(&mdev->request_timer, jiffies + HZ); /* just start it here. */
return err;
}