All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Metzmacher <metze@samba.org>
To: linux-cifs@vger.kernel.org, samba-technical@lists.samba.org
Cc: metze@samba.org, Steve French <smfrench@gmail.com>,
	Tom Talpey <tom@talpey.com>, Long Li <longli@microsoft.com>,
	Namjae Jeon <linkinjeon@kernel.org>
Subject: [PATCH v2 00/20] smbdirect client/server credit fixes
Date: Thu, 22 Jan 2026 18:16:40 +0100	[thread overview]
Message-ID: <cover.1769101771.git.metze@samba.org> (raw)

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


             reply	other threads:[~2026-01-22 17:17 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-22 17:16 Stefan Metzmacher [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1769101771.git.metze@samba.org \
    --to=metze@samba.org \
    --cc=linkinjeon@kernel.org \
    --cc=linux-cifs@vger.kernel.org \
    --cc=longli@microsoft.com \
    --cc=samba-technical@lists.samba.org \
    --cc=smfrench@gmail.com \
    --cc=tom@talpey.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.