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

Commit 039312b6 authored by Philipp Reisner's avatar Philipp Reisner
Browse files

drbd: Removed left over, now wrong comments

parent 873b0d5f
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -983,13 +983,7 @@ static int drbd_make_request_common(struct drbd_conf *mdev, struct bio *bio, uns
		}

		if (congested) {
			/* rs_pending_cnt must be zero, otherwise the two peers
			   might get different bitmaps. With sane configurations
			   the resync stalls long before we might want to go into
			   AHEAD mode.
			   We could force the resync into PAUSE mode here if
			   rs_pending_cnt is > 0 ... */
			queue_barrier(mdev);
			queue_barrier(mdev); /* last barrier, after mirrored writes */

			if (mdev->net_conf->on_congestion == OC_PULL_AHEAD)
				_drbd_set_state(_NS(mdev, conn, C_AHEAD), 0, NULL);