[stgt] [PATCH] iser: limit number of CQ entries requested

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Mon May 28 13:53:34 CEST 2012


On Mon, 28 May 2012 14:04:04 +0300
Roi Dayan <roid at mellanox.com> wrote:

> The number of CQ entries passed to ibv_create_cq() was copied from
> the IB device attributes (device_attr.max_cqe).
> Some versions of IB stack report a very large number there.
> Using this number may lead to consumption of unnecessary resources
> or even failure to create CQ.
> This patch limits the number of CQ entries to a reasonable value.
> 
> Signed-off-by: Roi Dayan <roid at mellanox.com>
> ---
>  usr/iscsi/iser.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)

Applied, thanks.

--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list