Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6710a576 authored by Philipp Reisner's avatar Philipp Reisner Committed by Jens Axboe
Browse files

drbd: Disable delay probes for the upcomming release



Signed-off-by: default avatarPhilipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: default avatarLars Ellenberg <lars.ellenberg@linbit.com>
Cc: stable@kernel.org
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent c284de61
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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);
}

static int w_delay_probes(struct drbd_conf *mdev, struct drbd_work *w, int cancel)