From: Jeff Layton Subject: Re: [PATCH] cifs: allow cifs_max_pending to be readable under /sys/module/cifs/parameters Date: Wed, 19 Oct 2011 20:56:07 -0400 Message-ID: <20111019205607.3770a921@corrin.poochiereds.net> References: <1319052676-11587-1-git-send-email-jlayton@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Steve French Return-path: In-Reply-To: Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Wed, 19 Oct 2011 16:31:15 -0500 Steve French wrote: > With the proposed cifs.ko fix to honor maxmpx, cifs_max_pending > because a limit when the server (as Windows often is) has more than 5= 0 > maxmpxct in its registry. Does anyone mind if I update the maximum > to one or two hundred? (after the mpx fix is in)? >=20 Ummm...what proposed fix? I've not seen that patch cross the list. Did I miss it? > On Wed, Oct 19, 2011 at 2:31 PM, Jeff Layton wro= te: > > Signed-off-by: Jeff Layton > > --- > > =C2=A0fs/cifs/cifsfs.c | =C2=A0 =C2=A02 +- > > =C2=A01 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c > > index b0a2e16..fa67245 100644 > > --- a/fs/cifs/cifsfs.c > > +++ b/fs/cifs/cifsfs.c > > @@ -74,7 +74,7 @@ module_param(cifs_min_small, int, 0); > > =C2=A0MODULE_PARM_DESC(cifs_min_small, "Small network buffers in po= ol. Default: 30 " > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "Range: 2 to 256"); > > =C2=A0unsigned int cifs_max_pending =3D CIFS_MAX_REQ; > > -module_param(cifs_max_pending, int, 0); > > +module_param(cifs_max_pending, int, 0444); > > =C2=A0MODULE_PARM_DESC(cifs_max_pending, "Simultaneous requests to = server. " > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "Default: 50 Range: 2= to 256"); > > =C2=A0unsigned short echo_retries =3D 5; > > -- > > 1.7.6.4 > > > > >=20 >=20 >=20 --=20 Jeff Layton