All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 00/16] SMB 2.1/3 multicredit requests for reading/writing
@ 2014-07-21 15:45 Pavel Shilovsky
       [not found] ` <1405957558-18476-1-git-send-email-pshilovsky-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
  0 siblings, 1 reply; 47+ messages in thread
From: Pavel Shilovsky @ 2014-07-21 15:45 UTC (permalink / raw)
  To: linux-cifs-u79uwXL29TY76Z2rM5mHXA

The goal of this patchset is to add large MTU/multicredits support for reading and writing from the CIFS client to servers that support SMB 2.1 and higher versions of the protocol.

The first patch fixes a reconnect bug in reading code. Other patches simplify the read/write code (2-4,7,8,11,13), fix rsize/wsize usage bug on reconnects (5,6,9,12,14,15) and introduce multicredits support (10,16).

Changes since v2:
1) patch #3 is refactored;
2) fix missed set_mapping_error() in patch #6;
3) fix missed updating of nr_pages value in patch #7;
4) remove unused offset var in patch #8;
5) add reviewed-by/acked-by tags.

Changes since v1:
1) read part is added;
2) several reconnects bug (related to the patchset and not) is fixed;
3) overall patch simplification/refactoring is done.


Pavel Shilovsky (16):
  CIFS: Fix async reading on reconnects
  CIFS: Separate page processing from writepages
  CIFS: Separate page sending from writepages
  CIFS: Separate pages initialization from writepages
  CIFS: Fix wsize usage in writepages
  CIFS: Fix cifs_writev_requeue when wsize changes
  CIFS: Separate filling pages from iovec write
  CIFS: Separate writing from iovec write
  CIFS: Fix wsize usage in iovec write
  CIFS: Use multicredits for SMB 2.1/3 writes
  CIFS: Separate page search from readpages
  CIFS: Fix rsize usage in readpages
  CIFS: Separate page reading from user read
  CIFS: Fix rsize usage in user read
  CIFS: Fix rsize usage for sync read
  CIFS: Use multicredits for SMB 2.1/3 reads

 fs/cifs/cifsglob.h      |  18 ++
 fs/cifs/cifsproto.h     |   3 +
 fs/cifs/cifssmb.c       |  88 ++++--
 fs/cifs/file.c          | 817 +++++++++++++++++++++++++++++-------------------
 fs/cifs/smb1ops.c       |   8 +
 fs/cifs/smb2ops.c       |  64 +++-
 fs/cifs/smb2pdu.c       |  63 +++-
 fs/cifs/smb2transport.c |   5 +
 fs/cifs/transport.c     |  25 +-
 9 files changed, 724 insertions(+), 367 deletions(-)

-- 
1.8.1.2

^ permalink raw reply	[flat|nested] 47+ messages in thread

end of thread, other threads:[~2014-08-01  9:50 UTC | newest]

Thread overview: 47+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-21 15:45 [PATCH v3 00/16] SMB 2.1/3 multicredit requests for reading/writing Pavel Shilovsky
     [not found] ` <1405957558-18476-1-git-send-email-pshilovsky-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2014-07-21 15:45   ` [PATCH v3 01/16] CIFS: Fix async reading on reconnects Pavel Shilovsky
2014-07-21 15:45   ` [PATCH v3 02/16] CIFS: Separate page processing from writepages Pavel Shilovsky
2014-07-21 15:45   ` [PATCH v3 03/16] CIFS: Separate page sending " Pavel Shilovsky
     [not found]     ` <1405957558-18476-4-git-send-email-pshilovsky-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2014-07-22  1:53       ` Shirish Pargaonkar
2014-07-21 15:45   ` [PATCH v3 04/16] CIFS: Separate pages initialization " Pavel Shilovsky
2014-07-21 15:45   ` [PATCH v3 05/16] CIFS: Fix wsize usage in writepages Pavel Shilovsky
     [not found]     ` <1405957558-18476-6-git-send-email-pshilovsky-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2014-07-22  2:09       ` Shirish Pargaonkar
2014-07-21 15:45   ` [PATCH v3 06/16] CIFS: Fix cifs_writev_requeue when wsize changes Pavel Shilovsky
     [not found]     ` <1405957558-18476-7-git-send-email-pshilovsky-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2014-07-22  2:14       ` Shirish Pargaonkar
2014-07-21 15:45   ` [PATCH v3 07/16] CIFS: Separate filling pages from iovec write Pavel Shilovsky
     [not found]     ` <1405957558-18476-8-git-send-email-pshilovsky-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2014-07-22  2:40       ` Shirish Pargaonkar
2014-07-21 15:45   ` [PATCH v3 08/16] CIFS: Separate writing " Pavel Shilovsky
     [not found]     ` <1405957558-18476-9-git-send-email-pshilovsky-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2014-07-22  2:42       ` Shirish Pargaonkar
2014-07-21 15:45   ` [PATCH v3 09/16] CIFS: Fix wsize usage in " Pavel Shilovsky
     [not found]     ` <1405957558-18476-10-git-send-email-pshilovsky-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2014-07-23  6:15       ` Shirish Pargaonkar
     [not found]         ` <CADT32eLMseQ00gkywk9KdvcCEks7P5k1sBWdFOM+RaR3g1Edpw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-07-24  3:42           ` Pavel Shilovsky
2014-07-24 13:40       ` Shirish Pargaonkar
2014-07-21 15:45   ` [PATCH v3 10/16] CIFS: Use multicredits for SMB 2.1/3 writes Pavel Shilovsky
     [not found]     ` <1405957558-18476-11-git-send-email-pshilovsky-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2014-07-25  1:06       ` Shirish Pargaonkar
     [not found]         ` <CADT32e+E5C6gh2+qAt6K6D3NEOx7fZFrWn2sN4Ovs5evQjuW5w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-07-28  7:36           ` Pavel Shilovsky
     [not found]             ` <CAKywueQa8toYf=-XAu_tM12ZSkUiSnc4Pke_sDMpbBP5mXkMEg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-07-29  7:56               ` Pavel Shilovsky
     [not found]                 ` <CAKywueRfzhBFV7MV1SCLW6R+coxbmJFPNjc9inki+WXYkM-81g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-07-30  2:06                   ` Shirish Pargaonkar
     [not found]                     ` <CADT32eKD1RBL-53Ap44wC3Fi8mCVwxsyoOgZvc0ED=FYA09SOQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-07-30  7:41                       ` Pavel Shilovsky
     [not found]                         ` <CAKywueSxw0yRvaQ7gnZ5LFTUs3WbNoT_xZqqcTkLJyACCsf5bA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-07-31  4:23                           ` Steve French
     [not found]                             ` <CAH2r5muVdX2DC1M1=hPTt_XK4vzWt+vLYZ0-qsCr9eABGSjvYA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-07-31  6:38                               ` Pavel Shilovsky
     [not found]                                 ` <CAKywueRByBX+sVnHe-TNsd0W4MzjKqW0e7SE2yDrq88VOmafhQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-08-01  5:58                                   ` Steve French
     [not found]                                     ` <CAH2r5mvMkhMLjXqQW7jqBSfWObQRb5cTUMP=SNPCb2Pd9ws+Yg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-08-01  9:50                                       ` Pavel Shilovsky
2014-07-21 15:45   ` [PATCH v3 11/16] CIFS: Separate page search from readpages Pavel Shilovsky
     [not found]     ` <1405957558-18476-12-git-send-email-pshilovsky-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2014-07-26 16:40       ` Shirish Pargaonkar
     [not found]         ` <CADT32e+_wwbnXFDAp_Sv22yn1-Y-jqccBqUfUiSjkbXRPATTOQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-07-26 17:08           ` Shirish Pargaonkar
2014-07-21 15:45   ` [PATCH v3 12/16] CIFS: Fix rsize usage in readpages Pavel Shilovsky
     [not found]     ` <1405957558-18476-13-git-send-email-pshilovsky-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2014-07-26 17:07       ` Shirish Pargaonkar
2014-07-21 15:45   ` [PATCH v3 13/16] CIFS: Separate page reading from user read Pavel Shilovsky
     [not found]     ` <1405957558-18476-14-git-send-email-pshilovsky-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2014-07-27 12:21       ` Shirish Pargaonkar
2014-07-21 15:45   ` [PATCH v3 14/16] CIFS: Fix rsize usage in " Pavel Shilovsky
     [not found]     ` <1405957558-18476-15-git-send-email-pshilovsky-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2014-07-27 12:37       ` Shirish Pargaonkar
2014-07-21 15:45   ` [PATCH v3 15/16] CIFS: Fix rsize usage for sync read Pavel Shilovsky
     [not found]     ` <1405957558-18476-16-git-send-email-pshilovsky-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2014-07-27 12:49       ` Shirish Pargaonkar
2014-07-21 15:45   ` [PATCH v3 16/16] CIFS: Use multicredits for SMB 2.1/3 reads Pavel Shilovsky
     [not found]     ` <1405957558-18476-17-git-send-email-pshilovsky-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2014-07-27 13:05       ` Shirish Pargaonkar
     [not found]         ` <CADT32eKvR0xj3oi=BMkwGd5r4OcuEMkK_JxOosoxFkSFAcUe1A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-07-28  7:43           ` Pavel Shilovsky
2014-07-28 20:14   ` [PATCH v3 00/16] SMB 2.1/3 multicredit requests for reading/writing Stefan Metzmacher
     [not found]     ` <53D6AF1E.4030804-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2014-07-29  6:19       ` Pavel Shilovsky
     [not found]         ` <CAKywueRBDjsDVz_uR39xAGbp6VQD40erCvWGX5bWLpFOUJqYtw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-07-29  7:40           ` Stefan (metze) Metzmacher
     [not found]             ` <53D74FD3.4050004-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2014-07-29  8:02               ` Pavel Shilovsky
     [not found]                 ` <CAKywueRKxRosFGRGBG-c4r8Sq07kO0vue5NP=kwv+KfkDZ919A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-07-29  8:03                   ` Stefan (metze) Metzmacher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.