[ofa-general] [GIT PULL] 2.6.21-rc3 please pull rdma-dev.git
Sean Hefty
sean.hefty at intel.com
Tue Mar 6 12:24:01 PST 2007
Roland, I added another minor fix to my git tree:
git://git.openfabrics.org/~shefty/rdma-dev.git for-roland
rdma_ucm: avoid sending reject if backlog is full
I don't have any other pending changes for 2.6.21, but we're continuing
scalability testing. This fix is not critical, but does help us scale on larger
clusters (256 nodes).
- Sean
---
rdma_ucm: avoid sending reject if backlog is full
Change the returned error code to ENOMEM if the connection event
backlog is full. This prevents the ib_cm from issuing a reject
on the connection, which can allow retries to succeed.
Signed-off-by: Sean Hefty <sean.hefty at intel.com>
diff --git a/drivers/infiniband/core/ucma.c b/drivers/infiniband/core/ucma.c
index b516b93..c859134 100644
--- a/drivers/infiniband/core/ucma.c
+++ b/drivers/infiniband/core/ucma.c
@@ -266,7 +266,7 @@ static int ucma_event_handler(struct rdma_cm_id *cm_id,
mutex_lock(&ctx->file->mut);
if (event->event == RDMA_CM_EVENT_CONNECT_REQUEST) {
if (!ctx->backlog) {
- ret = -EDQUOT;
+ ret = -ENOMEM;
kfree(uevent);
goto out;
}
More information about the general
mailing list