]> git.karo-electronics.de Git - linux-beck.git/commit
drbd: Cleaned up the resync timer logic
authorPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 27 Dec 2010 10:51:23 +0000 (11:51 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:45:28 +0000 (11:45 +0100)
commit794abb753e29e85949b3719dbc2ab6a98711a47e
tree95d03c4b184c28087fa3ff1f4f5562a5ee5b0a56
parentda0a78161d2b2da4819a1f05a38bb1dcbe02d951
drbd: Cleaned up the resync timer logic

Besides removed a few lines of code, this moves the inspection
of the state from before the queuing process to after the queuing.
I.e. more closely to the actual invocation of the work.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_main.c
drivers/block/drbd/drbd_worker.c