> -----Original Message----- > From: Tom Talpey > Sent: Monday, August 14, 2017 12:10 PM > To: Long Li <[email protected]>; Steve French <[email protected]>; > [email protected]; [email protected]; linux- > [email protected] > Subject: RE: [[PATCH v1] 01/37] [CIFS] SMBD: Add parsing for new rdma > mount option > > > -----Original Message----- > > From: [email protected] [mailto:linux-cifs- > > [email protected]] On Behalf Of Long Li > > Sent: Wednesday, August 2, 2017 4:10 PM > > To: Steve French <[email protected]>; [email protected]; > > samba- [email protected]; [email protected] > > Cc: Long Li <[email protected]> > > Subject: [[PATCH v1] 01/37] [CIFS] SMBD: Add parsing for new rdma > > mount option > > > > From: Long Li <[email protected]> > > > > 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.

