diff options
author | 2025-04-30 20:15:48 -0300 | |
---|---|---|
committer | 2025-05-01 08:35:58 -0500 | |
commit | c59f7c9661b9d3ee33a21d7b4f1dd4b77079e3e7 (patch) | |
tree | 9f409e6c5438f55fa6b2e309794e49deceb3beea /scripts/lib/kdoc/kdoc_parser.py | |
parent | cifs: Fix changing times and read-only attr over SMB1 smb_set_file_info() function (diff) | |
download | linux-rng-c59f7c9661b9d3ee33a21d7b4f1dd4b77079e3e7.tar.xz linux-rng-c59f7c9661b9d3ee33a21d7b4f1dd4b77079e3e7.zip |
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 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions