]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cifs: add a "nosharesock" mount option to force new sockets to server to be created
authorJeff Layton <jlayton@redhat.com>
Fri, 24 May 2013 11:40:59 +0000 (07:40 -0400)
committerSteve French <sfrench@us.ibm.com>
Fri, 24 May 2013 18:26:41 +0000 (13:26 -0500)
commit17a2b686fe7fa0208a339f9111ec47637e16c899
tree8b26cd90bf118f19bd2742d30e63f36f6c68b762
parent48b31b579db893864694a9b5248ed2ffcaa93621
cifs: add a "nosharesock" mount option to force new sockets to server to be created

Some servers set max_vcs to 1 and actually do enforce that limit. Add a
new mount option to work around this behavior that forces a mount
request to open a new socket to the server instead of reusing an
existing one.

I'd prefer to come up with a solution that doesn't require this, so
consider this a debug patch that you can use to determine whether this
is the real problem.

Cc: Jim McDonough <jmcd@samba.org>
Cc: Steve French <smfrench@gmail.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsglob.h
fs/cifs/connect.c