# RE: \[PATCH 5/7\] librdmacm/rspreload: Do not block connect when supporting fork

- From: Hefty, Sean \<hidden\>
- Date: 2012-08-20 20:22:17 
- List: linux-rdma
- Page: https://ratatoskr.run/linux-rdma/2012/08/15419017
- Thread: https://ratatoskr.run/linux-rdma/2012/08/15419017/t.md

```text
> I just updated the repository and noticed that we are falling back to
> normal sockets even with preload.
> After some debugging, found a couple of issuse. See inline.

Thanks for the report.

I've pushed a patch to the repository to address those issues, along with one other problem that I was able to hit.  If the connection is nonblocking, then fork_active() can be called before the connection has completed, which can result in getpeername() failing.

I'm still not able to reproduce the hang that you were seeing, but I can reproduce the problem where the throughput strongly favors the first process to connect over a second process.  I'm looking into that.

- Sean
N�����r��y���b�X��ǧv�^�)޺{.n�+����{��ٚ�{ay�
ʇڙ�,j��f���h�����/oSc��ڳ9�u�����&jw��(�階�ݢj"���m�����z�ޖ���f���h���~�m�
```
