]> 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, 31 May 2013 21:32:28 +0000 (16:32 -0500)
commit4282c6f3841a4403fb2904cbc3a348633b725bc1
treef412e8611102f94009009270028edcfd3e382f8b
parent1fc29bacedeabb278080e31bb9c1ecb49f143c3b
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