Skip to content

Commit ce170f2

Browse files
committed
Merge: [CIFS] Sync with upstream for RHEL 9.6
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/6282 JIRA: https://issues.redhat.com/browse/RHEL-76046 Signed-off-by: Paulo Alcantara <paalcant@redhat.com> Approved-by: Jay Shin <jaeshin@redhat.com> Approved-by: Benjamin Coddington <bcodding@redhat.com> Approved-by: Scott Mayhew <smayhew@redhat.com> Approved-by: Rafael Aquini <raquini@redhat.com> Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com> Merged-by: Patrick Talbert <ptalbert@redhat.com>
2 parents d28be0c + c52d6b2 commit ce170f2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+2556
-923
lines changed

fs/smb/client/Kconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,4 +201,18 @@ config CIFS_ROOT
201201

202202
Most people say N here.
203203

204+
config CIFS_COMPRESSION
205+
bool "SMB message compression (Experimental)"
206+
depends on CIFS
207+
default n
208+
help
209+
Enables over-the-wire message compression for SMB 3.1.1
210+
mounts when negotiated with the server.
211+
212+
Only write requests with data size >= PAGE_SIZE will be
213+
compressed to avoid wasting resources.
214+
215+
Say Y here if you want SMB traffic to be compressed.
216+
If unsure, say N.
217+
204218
endif

fs/smb/client/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,5 @@ cifs-$(CONFIG_CIFS_SMB_DIRECT) += smbdirect.o
3333
cifs-$(CONFIG_CIFS_ROOT) += cifsroot.o
3434

3535
cifs-$(CONFIG_CIFS_ALLOW_INSECURE_LEGACY) += smb1ops.o cifssmb.o
36+
37+
cifs-$(CONFIG_CIFS_COMPRESSION) += compress.o compress/lz77.o

0 commit comments

Comments
 (0)