drbd: Do not mod_timer() with a past time
authorPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 15 Jul 2011 11:53:06 +0000 (13:53 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:57:57 +0000 (16:57 +0100)
commit3b03ad5929e3ba5e1c3db7a70d426f883be061c2
treeeae2735de1eeaa875f6cf957d6c4961cbfb7a2dd
parent3fb4746d8d3f9c3e48f7fc65ed24bc54bb8032aa
drbd: Do not mod_timer() with a past time

In case we can not find out why the request takes too long
(happens e.g. when IO got suspended on DRBD level). rearm
the timer with a reasonable value.

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