From: Sagi Grimberg Date: Tue, 2 Dec 2014 14:57:44 +0000 (+0200) Subject: iser-target: Introduce isert_poll_budget X-Git-Tag: omap-for-v3.20/drop-legacy-3517~16^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37d9fe80a3afc87a3d9f3d83aa0e6137f9fd7cde;p=pandora-kernel.git iser-target: Introduce isert_poll_budget In case the CQ is packed with completions, we can't just hog the CPU forever. Poll until a sufficient budget (currently hard-coded to 64k completions) and if budget is exhausted, bailout and give a chance to other threads. Signed-off-by: Sagi Grimberg Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed