IB/iser: Use internal polling budget to avoid possible live-lock
authorSagi Grimberg <sagig@mellanox.com>
Wed, 1 Oct 2014 11:02:08 +0000 (14:02 +0300)
committerRoland Dreier <roland@purestorage.com>
Thu, 9 Oct 2014 07:06:06 +0000 (00:06 -0700)
commit183cfa434ec90897b1423ce4f916e8a237139133
tree9987bfe5479c8f6792adafbc0221e704dc657613
parentbf17554035ab2aaf770321208ce48e69aab71cc8
IB/iser: Use internal polling budget to avoid possible live-lock

We need a way to guarentee that we don't stay in soft-IRQ context for
too long.  We might starve other pending CQ tasklets or worse lock
against application trying to issue IO on the running CPU.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Ariel Nahum <arieln@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/iser/iser_verbs.c