From patchwork Tue Sep 25 01:07:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: NeilBrown X-Patchwork-Id: 10613151 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A896F14DA for ; Tue, 25 Sep 2018 01:09:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A55D52A04E for ; Tue, 25 Sep 2018 01:09:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 971732A052; Tue, 25 Sep 2018 01:09:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from pdx1-mailman02.dreamhost.com (pdx1-mailman02.dreamhost.com [64.90.62.194]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3228E2A04E for ; Tue, 25 Sep 2018 01:09:53 +0000 (UTC) Received: from pdx1-mailman02.dreamhost.com (localhost [IPv6:::1]) by pdx1-mailman02.dreamhost.com (Postfix) with ESMTP id 333654C3B4D; Mon, 24 Sep 2018 18:09:53 -0700 (PDT) X-Original-To: lustre-devel@lists.lustre.org Delivered-To: lustre-devel-lustre.org@pdx1-mailman02.dreamhost.com Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) by pdx1-mailman02.dreamhost.com (Postfix) with ESMTP id 6132021FF21 for ; Mon, 24 Sep 2018 18:09:51 -0700 (PDT) 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 502BBB032; Tue, 25 Sep 2018 01:09:50 +0000 (UTC) From: NeilBrown To: Oleg Drokin , Doug Oucharek , James Simmons , Andreas Dilger Date: Tue, 25 Sep 2018 11:07:14 +1000 Message-ID: <153783752960.32103.8394391715843917125.stgit@noble> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Subject: [lustre-devel] [PATCH 00/34] lustre: remainder of multi-rail series. X-BeenThere: lustre-devel@lists.lustre.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "For discussing Lustre software development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lustre Development List Errors-To: lustre-devel-bounces@lists.lustre.org Sender: "lustre-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi, following is the remainder of the Multi-Rail series, ported to drivers/staging. The previous series was only the first patch from upstream. This series is mostly the individual patches from upstream, though I did split some up a bit, and merged at least one bugfix back to where the bug was introduced. Comments, review, and explanations of bits I didn't understand, are most welcome. I confess that I haven't looked at the code very closely, just a superficially scan for things that look odd (there weren't many). Thanks, NeilBrown --- Amir Shehata (22): LU-7734 lnet: Multi-Rail peer split LU-7734 lnet: Multi-Rail local_ni/peer_ni selection LU-7734 lnet: configure peers from DLC LU-7734 lnet: configure local NI from DLC LU-7734 lnet: NUMA support LU-7734 lnet: Primary NID and traffic distribution LU-7734 lnet: handle non-MR peers LU-7734 lnet: handle N NIs to 1 LND peer LU-7734 lnet: rename LND peer to peer_ni LU-7734 lnet: peer/peer_ni handling adjustments LU-7734 lnet: proper cpt locking LU-7734 lnet: protect peer_ni credits LU-7734 lnet: simplify and fix lnet_select_pathway() LU-7734 lnet: configuration fixes LU-7734 lnet: fix lnet_select_pathway() LU-7734 lnet: Routing fixes part 1 LU-7734 lnet: Routing fixes part 2 LU-7734 lnet: fix routing selection LU-7734 lnet: Fix crash in router_proc.c LU-7734 lnet: fix NULL access in lnet_peer_aliveness_enabled LU-7734 lnet: rename peer key_nid to prim_nid LU-7734 lnet: cpt locking Doug Oucharek (1): LU-7734 lnet: Add peer_ni and NI stats for DLC NeilBrown (8): lnet: replace all lp_ fields with lpni_ lnet: change struct lnet_peer to struct lnet_peer_ni lnet: Change lpni_refcount to atomic_t lnet: change some function names - add 'ni'. lnet: make lnet_nid_cpt_hash non-static. lnet: introduce lnet_find_peer_ni_locked() lnet: lnet_peer_tables_cleanup: use an exclusive lock. lnet: use BIT() macro for LNET_MD_* flags Olaf Weber (3): LU-7734 lnet: fix lnet_peer_table_cleanup_locked() LU-7734 lnet: double free in lnet_add_net_common() LU-7734 lnet: set primary NID in ptlrpc_connection_get() .../lustre/include/linux/libcfs/libcfs_string.h | 12 drivers/staging/lustre/include/linux/lnet/api.h | 1 .../staging/lustre/include/linux/lnet/lib-lnet.h | 151 ++- .../staging/lustre/include/linux/lnet/lib-types.h | 157 ++- .../lustre/include/uapi/linux/lnet/libcfs_ioctl.h | 11 .../lustre/include/uapi/linux/lnet/lnet-dlc.h | 104 ++ .../lustre/include/uapi/linux/lnet/lnet-types.h | 34 - .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c | 237 ++-- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h | 118 +- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c | 516 ++++----- .../staging/lustre/lnet/klnds/socklnd/socklnd.c | 678 ++++++------ .../staging/lustre/lnet/klnds/socklnd/socklnd.h | 66 + .../staging/lustre/lnet/klnds/socklnd/socklnd_cb.c | 207 ++-- .../lustre/lnet/klnds/socklnd/socklnd_lib.c | 4 .../lustre/lnet/klnds/socklnd/socklnd_proto.c | 14 drivers/staging/lustre/lnet/lnet/api-ni.c | 650 ++++++++++- drivers/staging/lustre/lnet/lnet/config.c | 107 +- drivers/staging/lustre/lnet/lnet/lib-md.c | 31 + drivers/staging/lustre/lnet/lnet/lib-move.c | 957 +++++++++++++--- drivers/staging/lustre/lnet/lnet/lib-msg.c | 18 drivers/staging/lustre/lnet/lnet/lib-ptl.c | 3 drivers/staging/lustre/lnet/lnet/module.c | 70 + drivers/staging/lustre/lnet/lnet/peer.c | 1169 +++++++++++++++++--- drivers/staging/lustre/lnet/lnet/router.c | 341 +++--- drivers/staging/lustre/lnet/lnet/router_proc.c | 66 + drivers/staging/lustre/lustre/include/lustre_net.h | 2 drivers/staging/lustre/lustre/ptlrpc/connection.c | 1 drivers/staging/lustre/lustre/ptlrpc/events.c | 5 drivers/staging/lustre/lustre/ptlrpc/niobuf.c | 40 - drivers/staging/lustre/lustre/ptlrpc/ptlrpcd.c | 2 drivers/staging/lustre/lustre/ptlrpc/service.c | 4 31 files changed, 4056 insertions(+), 1720 deletions(-) -- Signature