public inbox for linux-cifs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/20] smbdirect client/server credit fixes
@ 2026-01-22 17:16 Stefan Metzmacher
  2026-01-22 17:16 ` [PATCH v2 01/20] smb: smbdirect: introduce smbdirect_socket.recv_io.credits.available Stefan Metzmacher
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: Stefan Metzmacher @ 2026-01-22 17:16 UTC (permalink / raw)
  To: linux-cifs, samba-technical
  Cc: metze, Steve French, Tom Talpey, Long Li, Namjae Jeon

Hi,

here is my current state of the regression
fixes we have in 6.18 and 6.19-rc6.

We may add some more detailed Fixes tags,
but for now at least everything is marked
as stable for 6.18.

I tested the patches and fixed a few minor
but important things in the client patches.

v2:
- we should not add new_credits twice to
  sc->recv_io.credits.count in the client
  patches
- also the need to use request->wr instead
  of a struct ib_send_wr on the stack for
  the client side negotiate request.

Stefan Metzmacher (20):
  smb: smbdirect: introduce smbdirect_socket.recv_io.credits.available
  smb: smbdirect: introduce smbdirect_socket.send_io.bcredits.*
  smb: server: make use of smbdirect_socket.recv_io.credits.available
  smb: server: let recv_done() queue a refill when the peer is low on
    credits
  smb: server: make use of smbdirect_socket.send_io.bcredits
  smb: server: fix last send credit problem causing disconnects
  smb: server: let send_done handle a completion without
    IB_SEND_SIGNALED
  smb: client: make use of smbdirect_socket.recv_io.credits.available
  smb: client: let recv_done() queue a refill when the peer is low on
    credits
  smb: client: let smbd_post_send() make use of request->wr
  smb: client: remove pointless sc->recv_io.credits.count rollback
  smb: client: remove pointless sc->send_io.pending handling in
    smbd_post_send_iter()
  smb: client: port and use the wait_for_credits logic used by server
  smb: client: split out smbd_ib_post_send()
  smb: client: introduce and use smbd_{alloc,free}_send_io()
  smb: client: use smbdirect_send_batch processing
  smb: client: make use of smbdirect_socket.send_io.bcredits
  smb: client: fix last send credit problem causing disconnects
  smb: client: let smbd_post_send_negotiate_req() use smbd_post_send()
  smb: client: let send_done handle a completion without
    IB_SEND_SIGNALED

 fs/smb/client/smbdirect.c                  | 523 ++++++++++++++++-----
 fs/smb/common/smbdirect/smbdirect_socket.h |  18 +
 fs/smb/server/transport_rdma.c             | 147 +++++-
 3 files changed, 551 insertions(+), 137 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2026-01-22 17:19 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-22 17:16 [PATCH v2 00/20] smbdirect client/server credit fixes Stefan Metzmacher
2026-01-22 17:16 ` [PATCH v2 01/20] smb: smbdirect: introduce smbdirect_socket.recv_io.credits.available Stefan Metzmacher
2026-01-22 17:16 ` [PATCH v2 02/20] smb: smbdirect: introduce smbdirect_socket.send_io.bcredits.* Stefan Metzmacher
2026-01-22 17:16 ` [PATCH v2 03/20] smb: server: make use of smbdirect_socket.recv_io.credits.available Stefan Metzmacher
2026-01-22 17:16 ` [PATCH v2 04/20] smb: server: let recv_done() queue a refill when the peer is low on credits Stefan Metzmacher
2026-01-22 17:16 ` [PATCH v2 05/20] smb: server: make use of smbdirect_socket.send_io.bcredits Stefan Metzmacher
2026-01-22 17:16 ` [PATCH v2 06/20] smb: server: fix last send credit problem causing disconnects Stefan Metzmacher
2026-01-22 17:16 ` [PATCH v2 07/20] smb: server: let send_done handle a completion without IB_SEND_SIGNALED Stefan Metzmacher
2026-01-22 17:16 ` [PATCH v2 08/20] smb: client: make use of smbdirect_socket.recv_io.credits.available Stefan Metzmacher
2026-01-22 17:16 ` [PATCH v2 09/20] smb: client: let recv_done() queue a refill when the peer is low on credits Stefan Metzmacher
2026-01-22 17:16 ` [PATCH v2 10/20] smb: client: let smbd_post_send() make use of request->wr Stefan Metzmacher
2026-01-22 17:16 ` [PATCH v2 11/20] smb: client: remove pointless sc->recv_io.credits.count rollback Stefan Metzmacher
2026-01-22 17:16 ` [PATCH v2 12/20] smb: client: remove pointless sc->send_io.pending handling in smbd_post_send_iter() Stefan Metzmacher
2026-01-22 17:16 ` [PATCH v2 13/20] smb: client: port and use the wait_for_credits logic used by server Stefan Metzmacher
2026-01-22 17:16 ` [PATCH v2 14/20] smb: client: split out smbd_ib_post_send() Stefan Metzmacher
2026-01-22 17:16 ` [PATCH v2 15/20] smb: client: introduce and use smbd_{alloc,free}_send_io() Stefan Metzmacher
2026-01-22 17:16 ` [PATCH v2 16/20] smb: client: use smbdirect_send_batch processing Stefan Metzmacher
2026-01-22 17:16 ` [PATCH v2 17/20] smb: client: make use of smbdirect_socket.send_io.bcredits Stefan Metzmacher
2026-01-22 17:16 ` [PATCH v2 18/20] smb: client: fix last send credit problem causing disconnects Stefan Metzmacher
2026-01-22 17:16 ` [PATCH v2 19/20] smb: client: let smbd_post_send_negotiate_req() use smbd_post_send() Stefan Metzmacher
2026-01-22 17:17 ` [PATCH v2 20/20] smb: client: let send_done handle a completion without IB_SEND_SIGNALED Stefan Metzmacher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox