Received: by 10.223.185.116 with SMTP id b49csp8019177wrg; Thu, 1 Mar 2018 15:34:37 -0800 (PST) X-Google-Smtp-Source: AG47ELvu9ylrSfR4iCQR+mrQewSJKjRQF1nzRd5qyl4r4Pxt9JXmUMOJaBhznyDv8wXb6/VCZlOx X-Received: by 2002:a17:902:2c43:: with SMTP id m61-v6mr3413948plb.387.1519947277656; Thu, 01 Mar 2018 15:34:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519947277; cv=none; d=google.com; s=arc-20160816; b=jDk55oZtJm8gkFt1zVWR+ZfoKwwtzJwEM63ebeak/z61fJGeuE/epmRKODrDFGwupf t7I8cIBoCy/8DnpZ4l+9IGpmYIEOz8aabzUvsjH3Yw76AENdW+4IoBzVddf8mAGFEQpb L56VGqSBXbe8vkzwwn7Fvg9z1QkknOGZXXsl4a9233czcBzGfEm7pQuSn/gFv6hJwzHk Rr5YyShbzLRfwKbjjCECFRImlPyu+9JpkxbkRY8rvy7wzkr0oqslvD3r3AVFWqO2QC6e bLsnmuG58kzzHzWHdJGTimI0hwPgc2T8R8ko5pudgqQgmWy4AEAd7okgNGLWcuoQvJZJ HlBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:message-id:cc:subject:date:to:from :arc-authentication-results; bh=WOvboPO8QsTWmYjYHy1JH10F1NjTG7MrMeQPgrAkhJE=; b=qrpZIFvXX2STiL49UIdWIMNtQ/DtCDOI2Sx8dUYhJs7Tcet6TV/Xa792vl13t4RnqP JTq+kY2NoxHQY4ALUQcyhob0nbnHi1hbTNZvm6zKtGBwCRLpS8Swkt0Bitt6m/mv2vJN rk2Lvroz3b3ivUrqL2sXSv0JtSldUeL9TsEZArrEDdpZ4CN7Q9bSNWlBdGCZFtL+m4vx 3u5OKb535HL/8a91SOfKIHMg0YOjjMTj/DlUjKcDLUsP48jNFPnEZaY7aOnNGuSwl4+y 98H6vC/xjT13X2AZCUGs8RArfyVtiTp8SzvT6gSEKaVnq1t3Hp69dfio/lILrC0gJ3AH /MXg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g9-v6si3929945pli.676.2018.03.01.15.34.23; Thu, 01 Mar 2018 15:34:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1163129AbeCAXcQ (ORCPT + 99 others); Thu, 1 Mar 2018 18:32:16 -0500 Received: from mx2.suse.de ([195.135.220.15]:54068 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1163007AbeCAXcP (ORCPT ); Thu, 1 Mar 2018 18:32:15 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 34D0FB46C; Thu, 1 Mar 2018 23:32:14 +0000 (UTC) From: NeilBrown To: Oleg Drokin , Greg Kroah-Hartman , James Simmons , Andreas Dilger Date: Fri, 02 Mar 2018 10:31:25 +1100 Subject: [PATCH 00/17] staging: remove requirement that lustre be built as module Cc: Linux Kernel Mailing List , Lustre Development List Message-ID: <151994679573.7628.1024109499321778846.stgit@noble> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The main focus on this series is to remove the requirement that lustre be built as a module. The involves moving some initialization out of the module_init functions and putting it elsewhere. This lead me to look at various kthreads that are used, resulting is some of them being changed to simpler work-queues. Lustre has a 'struct ptlrpc_thread' data structure which appears to have been created to manage the multiple threads for ptlrpcd - and it does this quite effectively. It was also used for managing a few other threads, and it was much less suitable for these. Those which haven't been changed to workqueues have been changed to use kthread interfaces directly. There are also a few bug-fixes and minor clean-ups. This series doesn't introduce any new failures in the 'sanity' test suite. Thanks, NeilBrown --- NeilBrown (17): staging: lustre: obd_mount: use correct niduuid suffix. staging: lustre: fix bug in osc_enter_cache_try staging: lustre: statahead: remove incorrect test on agl_list_empty() staging: lustre: obdclass: don't require lct_owner to be non-NULL. staging: lustre: lnet: keep ln_nportals consistent staging: lustre: get entropy from nid when nid set. staging: lustre: ptlrpc: change GFP_NOFS to GFP_KERNEL staging: lustre: obdclass: use workqueue for zombie management. staging: lustre: ldlm: use delayed_work for pools_recalc staging: lustre: ptlrpc: use delayed_work in sec_gc staging: lustre: ptlrpc: use workqueue for pinger staging: lustre: remove unused flag from ptlrpc_thread staging: lustre: remove 'ptlrpc_thread usage' for sai_agl_thread staging: lustre: change sai_thread to sai_task. staging: lustre: ptlrpc: move thread creation out of module initialization staging: lustre: allow monolithic builds Revert "staging: Disable lustre file system for MIPS, SH, and XTENSA" drivers/staging/lustre/lnet/Kconfig | 2 drivers/staging/lustre/lnet/lnet/api-ni.c | 7 + drivers/staging/lustre/lnet/lnet/lib-ptl.c | 5 - drivers/staging/lustre/lustre/Kconfig | 1 .../staging/lustre/lustre/include/lustre_export.h | 2 .../staging/lustre/lustre/include/lustre_import.h | 4 drivers/staging/lustre/lustre/include/lustre_net.h | 14 - drivers/staging/lustre/lustre/include/obd.h | 2 drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c | 12 + drivers/staging/lustre/lustre/ldlm/ldlm_pool.c | 99 +--------- .../staging/lustre/lustre/llite/llite_internal.h | 4 drivers/staging/lustre/lustre/llite/llite_lib.c | 18 ++ drivers/staging/lustre/lustre/llite/statahead.c | 197 ++++++++------------ drivers/staging/lustre/lustre/llite/super25.c | 17 -- drivers/staging/lustre/lustre/obdclass/genops.c | 193 ++------------------ drivers/staging/lustre/lustre/obdclass/lu_object.c | 7 - drivers/staging/lustre/lustre/obdclass/obd_mount.c | 2 drivers/staging/lustre/lustre/osc/osc_cache.c | 2 drivers/staging/lustre/lustre/ptlrpc/pinger.c | 81 ++------ .../staging/lustre/lustre/ptlrpc/ptlrpc_module.c | 56 ++++-- drivers/staging/lustre/lustre/ptlrpc/sec.c | 6 - drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c | 2 drivers/staging/lustre/lustre/ptlrpc/sec_gc.c | 90 +++------ drivers/staging/lustre/lustre/ptlrpc/service.c | 4 24 files changed, 259 insertions(+), 568 deletions(-) -- Signature