]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
drbd: Disable delay probes for the upcomming release
authorPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 19 Jul 2010 13:04:57 +0000 (15:04 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:53:57 +0000 (18:53 +0200)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Cc: stable@kernel.org
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/drbd/drbd_main.c

index d2b6764a7b1f2cb9821a3a5b1085d95fe73b7df1..0c1e84a751d7039175b5f6c7c19b30576b8ac381 100644 (file)
@@ -2371,11 +2371,7 @@ static int _drbd_send_zc_ee(struct drbd_conf *mdev, struct drbd_epoch_entry *e)
 
 static void consider_delay_probes(struct drbd_conf *mdev)
 {
-       if (mdev->state.conn != C_SYNC_SOURCE || mdev->agreed_pro_version < 93)
-               return;
-
-       if (mdev->dp_volume_last + mdev->sync_conf.dp_volume * 2 < mdev->send_cnt)
-               drbd_send_delay_probes(mdev);
+       return;
 }
 
 static int w_delay_probes(struct drbd_conf *mdev, struct drbd_work *w, int cancel)