cifs: lower default wsize when unix extensions are not used
commitbdac3a105a1c8fdf89ea15404ad5c7bcec73d37a
authorJeff Layton <jlayton@redhat.com>
Tue, 17 Jan 2012 21:08:51 +0000 (17 16:08 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Jan 2012 00:13:57 +0000 (25 16:13 -0800)
treea0c9f55087de52623eacbfaabb335ce169b6f6f9
parent5f4972712d070a70b2ac50c7f75a6b2dac1be74b
cifs: lower default wsize when unix extensions are not used

commit ce91acb3acae26f4163c5a6f1f695d1a1e8d9009 upstream.

We've had some reports of servers (namely, the Solaris in-kernel CIFS
server) that don't deal properly with writes that are "too large" even
though they set CAP_LARGE_WRITE_ANDX. Change the default to better
mirror what windows clients do.

Cc: Pavel Shilovsky <piastry@etersoft.ru>
Reported-by: Nick Davis <phireph0x@yahoo.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/cifs/connect.c