From: Lars Ellenberg Date: Mon, 28 Apr 2014 16:43:19 +0000 (+0200) Subject: drbd: don't let application IO pre-empt resync too often X-Git-Tag: omap-for-v3.17/soc-cleanup~42^2~7^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e82998743385ca861b9ec919eb2ba8177ce72180;p=pandora-kernel.git drbd: don't let application IO pre-empt resync too often Before, application IO could pre-empt resync activity for up to hardcoded 20 seconds per resync request. A very busy server could throttle the effective resync bandwidth down to one request per 20 seconds. Now, we only let application IO pre-empt resync traffic while the current resync rate estimate is above c-min-rate. If you disable the c-min-rate throttle feature (set c-min-rate = 0), application IO will no longer pre-empt resync traffic at all. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg Signed-off-by: Jens Axboe --- Reading git-diff-tree failed