[PATCH][SMB3] mark compression as CONFIG_EXPERIMENTAL and fix missing compression operation

Steve French smfrench at gmail.com
Fri Jul 26 23:53:18 UTC 2024


Since some of Enzo's compression patch series has to be changed due to
David Howell's netfs changes to cifs.ko over the past two releases, I split
out the obvious parts of his patch to implement the client side of SMB3.1.1
compression on write requests (see
https://git.exis.tech/linux.git/patch/?id=40414c6a34081b372e45c7ce5060a6d34779f6ba
for the original patch of Enzo's) but left out the final piece of the patch
(the calls from the write path).

This moves SMB3.1.1 compression code into experimental config option,
and fixes the compress mount option to require that config option.
Also implements unchained LZ77 "plain" compression algorithm as per
MS-XCA specification section "2.3 Plain LZ77 Compression Algorithm Details".

See attached

--
Thanks,

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-smb3-mark-compression-as-CONFIG_EXPERIMENTAL-and-fix.patch
Type: text/x-patch
Size: 21561 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20240726/15582f61/0001-smb3-mark-compression-as-CONFIG_EXPERIMENTAL-and-fix.bin>


More information about the samba-technical mailing list