]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: add rasize mount parameter to improve readahead performance
authorSteve French <stfrench@microsoft.com>
Sun, 25 Apr 2021 02:46:23 +0000 (21:46 -0500)
committerSteve French <stfrench@microsoft.com>
Mon, 26 Apr 2021 04:59:08 +0000 (23:59 -0500)
commitb153353da9a514762641c524613452736d4839e8
treedcdda7c0b18b6d74bc0ea6ee75f88ec95d16acc2
parent1e796226000b3d87c45d7563a2ba2f9de4c45323
smb3: add rasize mount parameter to improve readahead performance

In some cases readahead of more than the read size can help
(to allow parallel i/o of read ahead which can improve performance).

Ceph introduced a mount parameter "rasize" to allow controlling this.
Add mount parameter "rasize" to allow control of amount of readahead
requested of the server. If rasize not set, rasize defaults to
negotiated rsize as before.

Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsfs.c
fs/cifs/fs_context.c
fs/cifs/fs_context.h