]> git.ipfire.org Git - thirdparty/linux.git/commit
smb: server: correct value for smb_direct_max_fragmented_recv_size
authorStefan Metzmacher <metze@samba.org>
Thu, 5 Feb 2026 16:14:15 +0000 (17:14 +0100)
committerSteve French <stfrench@microsoft.com>
Mon, 9 Feb 2026 02:25:17 +0000 (20:25 -0600)
commit164cacd0ba380604253b96dc312c85366147e3f7
tree583d0a7c091c8739da34db99fcc2cff015b95a7d
parent4a93d1ee2d0206970b6eb13fbffe07938cd95948
smb: server: correct value for smb_direct_max_fragmented_recv_size

We should make it clear that we use this strange value
instead of hiding it in same code flow.

Note this value is mainly ignored currently,
as we do the calculation again with
the negotiated max_recv_size in smb_direct_prepare().
So this is only a cosmetic change in order to
avoid confusion.

In future we may change the logic and
adjust the number of recv buffers instead
of the max_fragmented_recv_size.

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