FS#80214 - [linux][linux-zen] enable CONFIG_CIFS_SMB_DIRECT

Attached to Project: Arch Linux
Opened by he7086 (he7086) - Friday, 10 November 2023, 09:12 GMT
Last edited by Jan Alexander Steffens (heftig) - Friday, 10 November 2023, 22:56 GMT
Task Type Feature Request
Category Kernel
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

$ zgrep CIFS_SMB_DIRECT /proc/config.gz
# CONFIG_CIFS_SMB_DIRECT is not set

This config should help improve cifs/samba share performance. It has been stable since linux 5.4.

should make sense to enable this in all officially supported kernels.

related:
https://github.com/void-linux/void-packages/issues/21374
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Friday, 10 November 2023, 22:56 GMT
Reason for closing:  Implemented
Additional comments about closing:  Implemented in main, pending next release.
Comment by Toolybird (Toolybird) - Friday, 10 November 2023, 20:01 GMT
> This config should help improve cifs/samba share performance

Thanks, but you've omitted this important snippet from the help text "....allows transferring SMB packets over RDMA". So this looks like it won't help in the general case (unless the hardware is RDMA-aware, Infiniband etc) which makes your assertion somewhat misleading.
Comment by he7086 (he7086) - Friday, 10 November 2023, 20:28 GMT
Yes, one have to enable this option while mounting with correct hardware. Currently if you try to do so (with supported hardware ofc), it just throws you an error indicating that the config is not enabled.

Loading...