summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorEnzo Matsumiya <ematsumiya@suse.de>2024-09-12 00:10:24 +0300
committerSteve French <stfrench@microsoft.com>2024-09-15 18:42:44 +0300
commitf046d71e84e1e94cf23335129a27f5cfe3e8b75f (patch)
tree4c41776e0a88feca09343bfbcaddc42c0ce21b7d /tools/perf/scripts/python/export-to-sqlite.py
parentd14bbfff259cadb5af84413658699159556da156 (diff)
downloadlinux-f046d71e84e1e94cf23335129a27f5cfe3e8b75f.tar.xz
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions