From: Chuck Lever Date: Wed, 28 May 2014 14:33:51 +0000 (-0400) Subject: xprtrdma: Limit work done by completion handler X-Git-Tag: omap-for-v3.16/fixes-against-rc1~64^2~5^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8301a2c047cc;p=pandora-kernel.git xprtrdma: Limit work done by completion handler Sagi Grimberg points out that a steady stream of CQ events could starve other work because of the boundless loop pooling in rpcrdma_{send,recv}_poll(). Instead of a (potentially infinite) while loop, return after collecting a budgeted number of completions. Signed-off-by: Chuck Lever Acked-by: Sagi Grimberg Signed-off-by: Anna Schumaker --- Reading git-diff-tree failed