From: Jeff Layton Subject: Re: [PATCH 00/16] cifs: cleanup and overhaul of the receive codepath (try #2) Date: Tue, 4 Oct 2011 07:00:58 -0400 Message-ID: <20111004070058.7d3cf2bf@tlielax.poochiereds.net> References: <1314385589-27136-1-git-send-email-jlayton@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Pavel Shilovsky Return-path: In-Reply-To: Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Tue, 4 Oct 2011 13:04:19 +0400 Pavel Shilovsky wrote: > 2011/8/27 Pavel Shilovsky : > > 2011/8/26 Jeff Layton : > >> This patchset does a fairly major cleanup and overhaul of the rece= ive > >> codepath for cifs. Aside from basic cleanup, there are two main go= als: > >> > >> 1) allow the receive codepath to identify the mid before receiving= all > >> of the data for a particular SMB. > >> > >> ...and in turn... > >> > >> 2) add the ability for certain calls to receive their responses in= to > >> their into their own set of buffers. > >> > >> These two changes allow cifs to break the CIFSMaxBufSize barrier f= or > >> receives. This patchset just adds the necessary infrastructure to = do > >> the above. > >> > >> A separate patchset will follow that will overhaul cifs_readpages = to use > >> this infrastructure to allow for a larger rsize. > >> > >> Jeff Layton (16): > >> =C2=A0cifs: clean up checkSMB > >> =C2=A0cifs: consolidate signature generating code > >> =C2=A0cifs: trivial: remove obsolete comment > >> =C2=A0cifs: make smb_msg local to read_from_socket > >> =C2=A0cifs: check for unresponsive server every time we call kerne= l_recvmsg > >> =C2=A0cifs: simplify read_from_socket > >> =C2=A0cifs: turn read_from_socket into a wrapper around a vectoriz= ed > >> =C2=A0 =C2=A0version > >> =C2=A0cifs: keep a reusable kvec array for receives > >> =C2=A0cifs: clean up check_rfc1002_header > >> =C2=A0cifs: add a third receive phase to cifs_demultiplex_thread > >> =C2=A0cifs: move mid finding into separate routine > >> =C2=A0cifs: eliminate is_multi_rsp parm to find_cifs_mid > >> =C2=A0cifs: move buffer pointers into TCP_Server_Info > >> =C2=A0cifs: find mid earlier in receive codepath > >> =C2=A0cifs: break out 3rd receive phase into separate function > >> =C2=A0cifs: add a callback function to receive the rest of the fra= me > >> > >> =C2=A0fs/cifs/cifsencrypt.c | =C2=A0103 ++-------- > >> =C2=A0fs/cifs/cifsglob.h =C2=A0 =C2=A0| =C2=A0 29 +++- > >> =C2=A0fs/cifs/cifsproto.h =C2=A0 | =C2=A0 =C2=A07 +- > >> =C2=A0fs/cifs/cifssmb.c =C2=A0 =C2=A0 | =C2=A0 =C2=A05 +- > >> =C2=A0fs/cifs/connect.c =C2=A0 =C2=A0 | =C2=A0519 ++++++++++++++++= ++++++++++++--------------------- > >> =C2=A0fs/cifs/misc.c =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 51 +++--- > >> =C2=A0fs/cifs/transport.c =C2=A0 | =C2=A0 16 +- > >> =C2=A07 files changed, 391 insertions(+), 339 deletions(-) > >> > >> -- > >> 1.7.6 > >> > >> -- > >> To unsubscribe from this list: send the line "unsubscribe linux-ci= fs" in > >> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > >> More majordomo info at =C2=A0http://vger.kernel.org/majordomo-info= =2Ehtml > >> > > > > The patchset looks good to me at the first glance. I am going to lo= ok > > at this more carefully and test it in a few days. > > > > -- > > Best regards, > > Pavel Shilovsky. > > >=20 > Sorry for the long delay on this. As patchwork.kernel.org isn't > available now, can you point me to public git repo, where I can fetch > that changes, please? >=20 Yes, I've moved my git repo to samba.org for the time being: http://git.samba.org/?p=3Djlayton/linux.git;a=3Dsummary See the "cifs-3.2" branch. --=20 Jeff Layton