> -----Original Message----- > From: Tom Talpey > Sent: Monday, August 14, 2017 12:10 PM > To: Long Li <lon...@microsoft.com>; Steve French <sfre...@samba.org>; > linux-c...@vger.kernel.org; samba-techni...@lists.samba.org; linux- > ker...@vger.kernel.org > Subject: RE: [[PATCH v1] 01/37] [CIFS] SMBD: Add parsing for new rdma > mount option > > > -----Original Message----- > > From: linux-cifs-ow...@vger.kernel.org [mailto:linux-cifs- > > ow...@vger.kernel.org] On Behalf Of Long Li > > Sent: Wednesday, August 2, 2017 4:10 PM > > To: Steve French <sfre...@samba.org>; linux-c...@vger.kernel.org; > > samba- techni...@lists.samba.org; linux-kernel@vger.kernel.org > > Cc: Long Li <lon...@microsoft.com> > > Subject: [[PATCH v1] 01/37] [CIFS] SMBD: Add parsing for new rdma > > mount option > > > > From: Long Li <lon...@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.