diff options
author | Paulo Alcantara <pc@manguebit.com> | 2025-05-01 02:15:48 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-05-01 16:35:58 +0300 |
commit | c59f7c9661b9d3ee33a21d7b4f1dd4b77079e3e7 (patch) | |
tree | 9f409e6c5438f55fa6b2e309794e49deceb3beea /drivers/net/dsa/dsa_loop.c | |
parent | f122121796f91168d0894c2710b8dd71330a34f8 (diff) | |
download | linux-c59f7c9661b9d3ee33a21d7b4f1dd4b77079e3e7.tar.xz |
smb: client: ensure aligned IO sizes
Make all IO sizes multiple of PAGE_SIZE, either negotiated by the
server or passed through rsize, wsize and bsize mount options, to
prevent from breaking DIO reads and writes against servers that
enforce alignment as specified in MS-FSA 2.1.5.3 and 2.1.5.4.
Cc: linux-cifs@vger.kernel.org
Reviewed-by: David Howells <dhowells@redhat.com>
Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions