aboutsummaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorEnzo Matsumiya <ematsumiya@suse.de>2024-09-11 16:10:24 -0500
committerSteve French <stfrench@microsoft.com>2024-09-15 10:42:44 -0500
commitf046d71e84e1e94cf23335129a27f5cfe3e8b75f (patch)
tree4c41776e0a88feca09343bfbcaddc42c0ce21b7d /scripts/rustdoc_test_builder.rs
parentd14bbfff259cadb5af84413658699159556da156 (diff)
smb: client: insert compression check/call on write requests
On smb2_async_writev(), set CIFS_COMPRESS_REQ on request flags if should_compress() returns true. On smb_send_rqst() check the flags, and compress and send the request to the server. (*) If the compression fails with -EMSGSIZE (i.e. compressed size is >= uncompressed size), the original uncompressed request is sent instead. Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions