]> 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 <smfrench@gmail.com>
Sun, 9 Jun 2013 21:52:43 +0000 (16:52 -0500)
commite122b823de4ce6f1a782872726c866123b801e07
treebd8147d8ce62fc4802321533555b6ab76ca893ee
parent317ddd256b9c24b0d78fa8018f80f1e495481a10
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