]> git.baikalelectronics.ru Git - kernel.git/commit
CIFS: SMBD: Add rdma mount option
authorLong Li <longli@microsoft.com>
Tue, 7 Nov 2017 08:54:55 +0000 (01:54 -0700)
committerSteve French <smfrench@gmail.com>
Thu, 25 Jan 2018 01:49:05 +0000 (19:49 -0600)
commit9ab56c67ad204938be0b1d109c165cf72aeb00e2
tree5654f004ba89eb477bfca48fd567df49672e0719
parent1bdac4ba05346d5b2e8d0f161b61b4d0167b514f
CIFS: SMBD: Add rdma mount option

Add "rdma" to CIFS mount options to connect to SMB Direct.
Add checks to validate this is used on SMB 3.X dialects.

To connect to SMBDirect, use "mount.cifs -o rdma,vers=3.x".
At the time of this patch, 3.x can be 3.0, 3.02 or 3.1.1.

Signed-off-by: Long Li <longli@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Acked-by: Ronnie Sahlberg <lsahlber.redhat.com>
fs/cifs/cifs_debug.c
fs/cifs/cifsfs.c
fs/cifs/cifsglob.h
fs/cifs/connect.c