[[PATCH v1] 01/37] [CIFS] SMBD: Add parsing for new rdma mount option

Long Li longli at microsoft.com
Mon Aug 14 22:53:51 UTC 2017



> -----Original Message-----
> From: Tom Talpey
> Sent: Monday, August 14, 2017 12:10 PM
> To: Long Li <longli at microsoft.com>; Steve French <sfrench at samba.org>;
> linux-cifs at vger.kernel.org; samba-technical at lists.samba.org; linux-
> kernel at vger.kernel.org
> Subject: RE: [[PATCH v1] 01/37] [CIFS] SMBD: Add parsing for new rdma
> mount option
> 
> > -----Original Message-----
> > From: linux-cifs-owner at vger.kernel.org [mailto:linux-cifs-
> > owner at vger.kernel.org] On Behalf Of Long Li
> > Sent: Wednesday, August 2, 2017 4:10 PM
> > To: Steve French <sfrench at samba.org>; linux-cifs at vger.kernel.org;
> > samba- technical at lists.samba.org; linux-kernel at vger.kernel.org
> > Cc: Long Li <longli at microsoft.com>
> > Subject: [[PATCH v1] 01/37] [CIFS] SMBD: Add parsing for new rdma
> > mount option
> >
> > From: Long Li <longli at microsoft.com>
> >
> > When doing mount with "-o rdma", user can specify this is for
> > connecting to a SMBD session.
> 
> Nit: it's an "SMB" session. SMBD (SMB Direct) is the transport connection.
> 
> The use of SMB Direct is only applicable when an SMB3.x dialect is negotiated.
> Is there any restriction in the use of the mount option to preclude also
> specifying
> SMB1 and SMB2.x?

SMB version is specified in mount "-o vers=XXX". For example,  "mount -o vers=3.02" will try to negotiate SMB 3.02. I will make the change to return error on vers<3.

> 
> Tom.



More information about the samba-technical mailing list