On Thu, 20 Jan 2011 11:51:59 -0600 Steve French <smfrench@xxxxxxxxx> wrote: > I have merged this patch, but I agree with the hint in the comment > below - given all of the complaints about "chattiness" of Windows cifs > behavior, we need to allow this to be tuned for slow WANs in > subsequent patch. > > +/* SMB echo "timeout" -- FIXME: tunable? */ > +#define SMB_ECHO_INTERVAL (60 * HZ) > > Had you made a patch for that? If not, I can easily put something > together. Problem is it is a link issue not a "system-wide" issue so > probably needs to be mount option (and we have a lot of these, and > this would not be a commonly used one) > No, I haven't made a patch for that. It seems like 1 (tiny) echo ping per minute is entirely reasonable, even on a slow WAN. According to MS-CIFS: "Clients SHOULD, at minimum, send an SMB_COM_ECHO to the server every few minutes." The next patch in the series adds the "echo_retries" parameter, which is more likely what you'll want to tune on a slow WAN. Note that you can't make this a mount option unless you also want to force the client to use a new socket when its setting doesn't match an existing one. -- Jeff Layton <jlayton@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html