diff options
| author | Henrique Carvalho <henrique.carvalho@suse.com> | 2025-10-03 23:11:43 -0300 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2025-10-09 10:42:14 -0500 |
| commit | 68d2e2ca1cba9259e943bcd188671b619b9770b4 (patch) | |
| tree | 03ef69e9cafb37aa27b9adbf399b41432bf89be7 /rust/helpers/helpers.c | |
| parent | smb: client: Omit an if branch in smb2_find_smb_tcon() (diff) | |
| download | linux-68d2e2ca1cba9259e943bcd188671b619b9770b4.tar.gz linux-68d2e2ca1cba9259e943bcd188671b619b9770b4.zip | |
smb: client: batch SRV_COPYCHUNK entries to cut round trips
smb2_copychunk_range() used to send a single SRV_COPYCHUNK per
SRV_COPYCHUNK_COPY IOCTL.
Implement variable Chunks[] array in struct copychunk_ioctl and fill it
with struct copychunk (MS-SMB2 2.2.31.1.1), bounded by server-advertised
limits.
This reduces the number of IOCTL requests for large copies.
While we are at it, rename a couple variables to follow the terminology
used in the specification.
Signed-off-by: Henrique Carvalho <henrique.carvalho@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
