]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ksmbd: increase SMB3_DEFAULT_TRANS_SIZE from 1MB to 4MB
authorNamjae Jeon <linkinjeon@kernel.org>
Mon, 22 Jun 2026 01:16:41 +0000 (10:16 +0900)
committerSteve French <stfrench@microsoft.com>
Tue, 23 Jun 2026 01:15:06 +0000 (20:15 -0500)
commit4429b56506f45891d445f4dc4c8a22b3ec9b12de
treeab87d846fb43b9d890ea7ea1d90e4174bc4f7d97
parent474fd91f3828a89dd7dc0a862f77f14e9f9240ff
ksmbd: increase SMB3_DEFAULT_TRANS_SIZE from 1MB to 4MB

This patch raises `SMB3_DEFAULT_TRANS_SIZE` to 4MB to align it with
`smb2 max read/write`. This allows better I/O negotiation with modern
clients and improves sequential read/write performance on high-speed
networks.

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/server/smb2pdu.h