Skip to content

net/rds: RDS-TCP reconnect and fanout improvements

Allison Henderson linux-kselftest linux-rdma netdev 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 4 repliesIn review
  2. v44 patches 2 repliesSuperseded
  3. v34 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches0 repliesSuperseded
v13 patches0 repliesSuperseded

Changes in v5 from the cover letter

[PATCH net-next v4 1/4] net/rds: Fix NULL pointer dereference in rds_tcp_accept_one
- Removed
- Deferred to net instead of net-next

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net/rds: Refactor __rds_conn_create for blocking transport cleanupnet/rds/connection.c+18 -142 replies
2/2net/rds: Delegate fan-out to a background workernet/rds/tcp.c net/rds/tcp.h net/rds/tcp_connect.c +1 more+46 -202 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH net-next v5 0/2] net/rds: RDS-TCP reconnect and fanout improvements

Hi all,

This is subset 4 of the larger RDS-TCP patch series I posted last Oct. The greater series aims to correct multiple rds-tcp issues that can cause dropped or out of sequence messages. I've broken it down into smaller sets to make reviews more manageable.

In this set, we address some reconnect issues occurring during connection teardowns, and also move connection fanout operations to a background worker.

The entire set can be viewed in the rfc here:
https://lore.kernel.org/netdev/[email protected]/

Questions, comments, flames appreciated!

Thanks,
Allison

Change Log
v2:
[PATCH net-next v2 1/4] net/rds: Refactor __rds_conn_create for blocking transport cleanup
- NEW

[PATCH net-next v2 2/4] net/rds: Delegate fan-out to a background
worker
- Added syzbot report link
v3:
[PATCH net-next v3 1/4] net/rds: Fix NULL pointer dereference in rds_tcp_accept_one
- NEW
- Fixes syzbot bug
https://syzkaller.appspot.com/bug?extid=96046021045ffe6d7709

[PATCH net-next v3 2/4] net/rds: Refactor __rds_conn_create for blocking transport cleanup
- Moved syzbot report link from "Delegate fan-out to a background worker" to this patch
- this patch fixes syzbot bug flaged in next patch
https://ci.syzbot.org/series/1a5ef180-c02c-401d-9df7-670b18570a55

[PATCH net-next v3 3/4] net/rds: Delegate fan-out to a background
worker
- Moved syzbot report link to previous patch

[PATCH net-next v3 4/4] net/rds: Use proper peer port number even when not connected
- Fixed ai comment complaint

[PATCH net-next v2 4/4] net/rds: rds_sendmsg should not discard payload_len
- Removed
- Deferred to net instead of net-next

v4:
[PATCH net-next v4 2/4] net/rds: Refactor __rds_conn_create for blocking transport cleanup
- Removed Reported-by: tag

[PATCH net-next v4 3/4] net/rds: Delegate fan-out to a background worker
- Expanded commit header to clarify ordered queue mechanics and cancel_work_sync() usage

v5:
[PATCH net-next v4 1/4] net/rds: Fix NULL pointer dereference in rds_tcp_accept_one
- Removed
- Deferred to net instead of net-next

[PATCH net v5 1/2] net/rds: Refactor __rds_conn_create for blocking transport cleanup
- Clarified commit header and commets per ai review

[PATCH net-next v4 4/4] net/rds: Use proper peer port number even when not connected
- Removed
- Superceeded by
"net/rds: fix recursive lock in rds_tcp_conn_slots_available"

Allison Henderson (1):
net/rds: Refactor __rds_conn_create for blocking transport cleanup

Gerd Rausch (1):
net/rds: Delegate fan-out to a background worker

 net/rds/connection.c  | 32 ++++++++++++++-----------
 net/rds/tcp.c         |  3 +++
 net/rds/tcp.h         |  7 ++----
 net/rds/tcp_connect.c |  2 ++
 net/rds/tcp_listen.c  | 54 +++++++++++++++++++++++++++++++------------
 5 files changed, 64 insertions(+), 34 deletions(-)
Signature · 1 line
2.43.0