From 7f34f61490ee87a470cf229069d59b0987f42a59 Mon Sep 17 00:00:00 2001 From: Lars Ellenberg Date: Tue, 22 Apr 2014 16:37:16 +0200 Subject: [PATCH] drbd: drbd_rs_number_requests: fix unit mismatch in comparison We try to limit the number of "in-flight" resync requests. One condition for that is the amount of requested data should not exceed half of what can be covered by our "max-buffers" setting. However we compared number of 4k pages with number of in-flight 512 Byte sectors, and this extra throttle triggered much earlier than intended. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-format-patch failed