commit | 37d9fe80a3afc87a3d9f3d83aa0e6137f9fd7cde | [log] [tgz] |
---|---|---|
author | Sagi Grimberg <sagig@mellanox.com> | Tue Dec 02 16:57:44 2014 +0200 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Fri Dec 12 23:32:31 2014 -0800 |
tree | b82fdaddb210cf6c69c9411014db8a705038dfe0 | |
parent | bdf20e72548cdcca1c16f29ad30c5725fa1d8d11 [diff] |
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 <sagig@mellanox.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>