]> git.ipfire.org Git - thirdparty/linux.git/commit
smb: smbdirect: introduce smbdirect_connection_reassembly_{append,first}_recv_io()
authorStefan Metzmacher <metze@samba.org>
Wed, 27 Aug 2025 14:39:22 +0000 (16:39 +0200)
committerSteve French <stfrench@microsoft.com>
Thu, 16 Apr 2026 02:58:18 +0000 (21:58 -0500)
commitb90169bcb2a6f46b1b5d7a17d5fd15a64ab552ff
treebe43fb42ef9395b84bf7202e6dafb9833314edb9
parentbb0a49edfe1ac5d831c897e4869a167cddea835f
smb: smbdirect: introduce smbdirect_connection_reassembly_{append,first}_recv_io()

These are basically copies of enqueue_reassembly() and
[_]get_first_reassembly() of both client and server. The only difference
is that enqueue_reassembly() of the server does not have:
sc->statistics.enqueue_reassembly_queue++

Also smbdirect_connection_reassembly_first_recv_io() makes use of
list_first_entry_or_null() in order to simplify the code.

In the next commits they will replace the existing functions.

Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Long Li <longli@microsoft.com>
Cc: Namjae Jeon <linkinjeon@kernel.org>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/common/smbdirect/smbdirect_connection.c