]> git.baikalelectronics.ru Git - kernel.git/commit
ksmbd: reduce smb direct max read/write size
authorNamjae Jeon <linkinjeon@kernel.org>
Sun, 30 Jan 2022 09:28:11 +0000 (18:28 +0900)
committerSteve French <stfrench@microsoft.com>
Fri, 4 Feb 2022 06:12:22 +0000 (00:12 -0600)
commite983a7241c0a8419ebc9809122495b1dfe5ee97c
tree143758b148ac49146f55fa53f4e5c85ec5951ead
parent4e96cb7831e828c336ed0218de5c8c7e91dbe37b
ksmbd: reduce smb direct max read/write size

ksmbd does not support more than one Buffer Descriptor V1 element in
an smbdirect protocol request. Reducing the maximum read/write size to
about 512KB allows interoperability with Windows over a wider variety
of RDMA NICs, as an interim workaround.

Reviewed-by: Tom Talpey <tom@talpey.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/ksmbd/transport_rdma.c