From patchwork Fri Sep 20 05:01:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Aur=C3=A9lien_Aptel?= X-Patchwork-Id: 11153745 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5A46B14DB for ; Fri, 20 Sep 2019 05:01:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 38DB42080F for ; Fri, 20 Sep 2019 05:01:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725830AbfITFB1 (ORCPT ); Fri, 20 Sep 2019 01:01:27 -0400 Received: from mx2.suse.de ([195.135.220.15]:48798 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725781AbfITFB1 (ORCPT ); Fri, 20 Sep 2019 01:01:27 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 15A66AF84; Fri, 20 Sep 2019 05:01:26 +0000 (UTC) From: Aurelien Aptel To: linux-cifs@vger.kernel.org Cc: smfrench@gmail.com, Aurelien Aptel Subject: [PATCH v4 0/6] multichannel Date: Fri, 20 Sep 2019 07:01:13 +0200 Message-Id: <20190920050119.27017-1-aaptel@suse.com> X-Mailer: git-send-email 2.16.4 Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org This patchset adds multichannel support. It is a cleaned up version of v3. I've removed debug messages and split the patch in multiple commits. It still needs more reconnection testing and some tweaks (use 3.0 instead of 3.1.1 as minimum requirement). Long Li sucessfully tried the patchset with RDMA (opening RDMA channels). Aurelien Aptel (6): cifs: add multichannel mount options and data structs cifs: add server param cifs: switch servers depending on binding state cifs: sort interface list by speed cifs: try opening channels after mounting cifs: mention if an interface has a channel connected to it fs/cifs/cifs_debug.c | 6 +- fs/cifs/cifs_spnego.c | 2 +- fs/cifs/cifsfs.c | 3 + fs/cifs/cifsglob.h | 29 ++++++- fs/cifs/cifsproto.h | 8 ++ fs/cifs/connect.c | 83 +++++++++++++++---- fs/cifs/sess.c | 216 +++++++++++++++++++++++++++++++++++++++++++++++- fs/cifs/smb2misc.c | 37 ++++++--- fs/cifs/smb2ops.c | 13 ++- fs/cifs/smb2pdu.c | 106 ++++++++++++++---------- fs/cifs/smb2proto.h | 3 +- fs/cifs/smb2transport.c | 150 ++++++++++++++++++++++++--------- fs/cifs/transport.c | 14 +++- 13 files changed, 551 insertions(+), 119 deletions(-)