From: Lars Ellenberg Date: Tue, 8 Mar 2011 16:11:40 +0000 (+0100) Subject: drbd: fix potential distributed deadlock X-Git-Tag: v3.0-rc1~162^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53ea433145d9a56c7ad5e69f21f5662053e00e84;p=pandora-kernel.git drbd: fix potential distributed deadlock We limit ourselves to a configurable maximum number of pages used as temporary bio pages. If the configured "max_buffers" is not big enough to match the bandwidth of the respective deployment, a distributed deadlock could be triggered by e.g. fast online verify and heavy application IO. TCP connections would block on congestion, because both receivers would wait on pages to become available. Fortunately the respective senders in this case would be able to give back some pages already. So do that. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed