[PATCH net-next v3 0/2] net/rds: RDS-TCP bug fix collection, subset 1: Work queue scalability

Allison Henderson
2025-12-01T06:10:38Z

Hi all,

This is subset 1 of the RDS-TCP bug fix collection series I posted last
week. The greater series aims to correct multiple rds-tcp bugs that
can cause dropped or out of sequence messages. The set was starting to
get a bit large, so I've broken it down into smaller sets to make
reviews more manageable.

In this subset, we focus on work queue scalability. Messages queues
are refactored to operate in parallel across multiple connections,
which improves response times and avoids timeouts.

The entire set can be viewed in the rfc here:
https://lore.kernel.org/netdev/20251022191715.157755-1-achender@kernel.org/

Questions, comments, flames appreciated!
Thanks!
Allison

Change Log:
rfc->v1
- Fixed lkp warnings and white space cleanup
- Split out the workqueue changes as a subset

v1->v2
[PATCH 1/2] net/rds: Add per cp work queue
- Checkpatch nits
[PATCH 2/2] net/rds: Give each connection its own workqueue
- Checkpatch nits
- Updated commit message with workqueue overhead accounting

v2->v3
[PATCH 2/2] net/rds: Give each connection path its own workqueue
- Updated commit message with worst case connection path accounting
- Use rds_wq as a fall back if queue alloc fails
- Checkpatch nits

Allison Henderson (2):
net/rds: Add per cp work queue
net/rds: Give each connection path its own workqueue

net/rds/connection.c | 14 ++++++++++++--
net/rds/ib_recv.c | 2 +-
net/rds/ib_send.c | 2 +-
net/rds/rds.h | 1 +
net/rds/send.c | 9 +++++----
net/rds/tcp_recv.c | 2 +-
net/rds/tcp_send.c | 2 +-
net/rds/threads.c | 16 ++++++++--------
8 files changed, 30 insertions(+), 18 deletions(-)

--
2.43.0