From: Lars Ellenberg Date: Tue, 22 Apr 2014 14:37:16 +0000 (+0200) Subject: drbd: drbd_rs_number_requests: fix unit mismatch in comparison X-Git-Tag: omap-for-v3.17/fixes-against-rc2~74^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f34f61490ee87a470cf229069d59b0987f42a59;p=pandora-kernel.git 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-diff-tree failed