[PATCH rdma-core 0/5] rsockets: Updates to align behavior with sockets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series adjusts the behavior or rsockets to align with sockets. Specifically, it adds a service thread to processing connection requests and accept them without using the application thread to drive the CM states. This allows a single-threaded application to connect to itself, and fixes an issue in rsockets where newly accepted sockets were forced to inherit the nonblocking semantics of the listening socket. This conflicted with normal socket behavior.

The last patch fixes the behavior of rpoll() in multi-threaded use cases. It uses a signaling mechanism to wake up blocked threads whenever the state of an rsocket might have changed, so that the polling threads can re-check the rsocket states.

An email thread for the issues should be available here:

http://mail.openjdk.java.net/pipermail/nio-dev/2018-December/005632.html

The changes were validated using two test programs which demonstrated the issues.  The test apps are available from:

https://github.com/shefty/rdma-core master

Signed-off-by: Sean Hefty <sean.hefty@xxxxxxxxx>



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux