[PATCH rdma-core 0/4] Allow systemd to also setup the RDMA_LS socket for ibacm

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

 



This expands the socket activation for ibacm to include the kernel facing
listening netlink socket. This helps avoid racing during bootup by
allowing the kernel to block resolution until ibacm is started during
earlier boot.

Also a small clean up of F_SETFL

https://github.com/linux-rdma/rdma-core/pull/198

Jason Gunthorpe (4):
  Add set_fd_nonblock to util
  srp_daemon: Use pipe2 instead of pip&fcntl
  Use set_fd_nonblock in instead of open coding F_SETFL
  ibacm: Allow systemd to also setup the RDMA_LS socket for ibacm

 ibacm/ibacm.socket      |  4 +++
 ibacm/src/acm.c         | 81 ++++++++++++++++++++++++++++++++++++-------------
 librdmacm/rsocket.c     |  7 +++--
 srp_daemon/srp_daemon.c | 19 +-----------
 util/CMakeLists.txt     |  5 ++-
 util/dummy.c            |  0
 util/util.c             | 22 ++++++++++++++
 util/util.h             |  4 +++
 8 files changed, 97 insertions(+), 45 deletions(-)
 delete mode 100644 util/dummy.c
 create mode 100644 util/util.c

-- 
2.7.4

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



[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