Received: by 10.213.65.68 with SMTP id h4csp1125557imn; Wed, 28 Mar 2018 21:28:28 -0700 (PDT) X-Google-Smtp-Source: AIpwx48FrT88eFDWmEumrVSdTFED+fNVW1Tb40YXBoz5FwtRwGnLNScSjEDMekDSARului219ORQ X-Received: by 10.98.182.26 with SMTP id j26mr5049065pff.223.1522297708536; Wed, 28 Mar 2018 21:28:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522297708; cv=none; d=google.com; s=arc-20160816; b=05AoZTMtOPW58ANj1/n4gSWiMKwhNMvGH+ugR4t8ZSXqM/+Kpuhv9ZyZCzfn7SH4AP CPyy0Tzv6FdVapTrbej1fKcorO4CVVrJUXWAe+/zw0nDu20vyGhOJYl8A1wAmkx0HyO3 9jfroyTxih4vT4kp/K7/AVljMRMvCaaykeO+rgKVpqZlCCYeN69h61RCZYWXZzjdmb6O ylGapJTC1ALlJ7Cyo9dIWJscSpwy3aAD21rNBBZ87xr9eWSBXV+owMVsmLTsCHEd4EzW GemGntxQizsS+0KUtWDshuQXoEHEGMDKt953o3xwc0/t5WUNWFCUdvDhvqAzgiP+NNWX ZEpA== 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=2rZg28dJxL0112fr2Awxg72EnM2l+bNY8uTsWR8VVyU=; b=t5FclTPWNAnxZkjUmuSQCiLVHDPlVOM4e/1/I67bhioyWT6gARbOXGtkFvswgkbrDG 6ZEMfy72FTw/igCICLG7zKUm5gHSc8tCGsnpZbUPMANxLWS35THYGqJICxxmOl4wqArx r2PFeF+Y4x54PlMUg9IlvbJ6lP6Rpv/KS5e1dcexnAFldHQG6KTAHUf1AZI7yHibFR5I 2NgTPH9T0i4pGw/UUyQ2Joj5fJ3Vpnhrcrm2Ag/px6eDiIvDEDqitR0IJSXUoTwhRgG0 0mpTR2MB+PoIJah5eKMbdP/v1Zzdhnr1TOD542x9FZ3Xpnb4WdMUmmxz3PI8qdkamjCT ADGg== 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 o11-v6si4803711plk.672.2018.03.28.21.28.14; Wed, 28 Mar 2018 21:28:28 -0700 (PDT) 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 S1752080AbeC2E1M (ORCPT + 99 others); Thu, 29 Mar 2018 00:27:12 -0400 Received: from mx2.suse.de ([195.135.220.15]:34660 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751206AbeC2E1L (ORCPT ); Thu, 29 Mar 2018 00:27:11 -0400 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 CE42FAE46; Thu, 29 Mar 2018 04:27:09 +0000 (UTC) From: NeilBrown To: Oleg Drokin , Greg Kroah-Hartman , James Simmons , Andreas Dilger Date: Thu, 29 Mar 2018 15:26:48 +1100 Subject: [PATCH 00/17] staging: Assorted lustre cleanup Cc: Linux Kernel Mailing List , Lustre Development List Message-ID: <152229732768.27689.4800156943561963977.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 I'm currently working on converting lustre to use rhashtables instead of its own resizeable hash tables. That is progressing well, but I need some changes to rhashtable first, and that will take a little while. So here are some other patches. Some are cleanups related to hashtables, some are related to measuring time in jiffies and some are random other things I found as I was looking at stuff. James, if this jiffie stuff conflicts with your time-keeping stuff, we can just drop it. Last time I cleaned up jiffie-related code you said it didn't conflict significantly, so I'm hoping this won't either. Thanks, NeilBrown --- NeilBrown (17): staging: lustre: remove invariant in cl_io_read_ahead() staging: lustre: remove unused ldlm_completion_ast_async() staging: lustre: LNET excludes USERIO staging: lustre: remove unused hash tables. staging: lustre: remove unneeded include. staging: lustre: tidy up ldlm_resource_putref() staging: lustre: ldlm: free resource when ldlm_lock_create() fails. staging: lustre: add container_of_safe() staging: lustre: cfs_time_current() -> jiffies. staging: lustre: libcfs: discard cfs_time_add/sub staging: lustre: libcfs: discard cfs_time_shift(). staging: lustre: libcfs: discard cfs_time_after() staging: lustre: libcfs: remove cfs_timeout_cap() staging: lustre: discard cfs_duration_sec() staging: lustre: discard cfs_time_before_64() staging: lustre: discard linux-time.h staging: lustre: remove cruft from libcfs/linux/libcfs.h .../staging/lustre/include/linux/libcfs/curproc.h | 2 .../staging/lustre/include/linux/libcfs/libcfs.h | 17 +-- .../lustre/include/linux/libcfs/libcfs_time.h | 79 --------------- .../lustre/include/linux/libcfs/linux/libcfs.h | 18 --- .../lustre/include/linux/libcfs/linux/linux-time.h | 103 -------------------- drivers/staging/lustre/lnet/Kconfig | 2 .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c | 32 +++--- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h | 6 + .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c | 17 ++- .../staging/lustre/lnet/klnds/socklnd/socklnd.c | 15 +-- .../staging/lustre/lnet/klnds/socklnd/socklnd_cb.c | 87 ++++++++--------- drivers/staging/lustre/lnet/libcfs/debug.c | 2 drivers/staging/lustre/lnet/libcfs/tracefile.c | 12 +- drivers/staging/lustre/lnet/lnet/lib-move.c | 14 +-- drivers/staging/lustre/lnet/lnet/net_fault.c | 40 ++++---- drivers/staging/lustre/lnet/lnet/peer.c | 2 drivers/staging/lustre/lnet/lnet/router.c | 17 ++- drivers/staging/lustre/lnet/lnet/router_proc.c | 13 +-- drivers/staging/lustre/lnet/selftest/conrpc.c | 14 +-- drivers/staging/lustre/lnet/selftest/console.c | 4 - drivers/staging/lustre/lnet/selftest/framework.c | 2 drivers/staging/lustre/lnet/selftest/timer.c | 4 - drivers/staging/lustre/lustre/include/cl_object.h | 10 +- drivers/staging/lustre/lustre/include/lu_object.h | 6 + drivers/staging/lustre/lustre/include/lustre_dlm.h | 13 --- .../staging/lustre/lustre/include/lustre_export.h | 7 - drivers/staging/lustre/lustre/include/lustre_net.h | 7 + drivers/staging/lustre/lustre/include/obd_class.h | 10 +- .../staging/lustre/lustre/include/obd_support.h | 18 --- drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 11 -- drivers/staging/lustre/lustre/ldlm/ldlm_lock.c | 22 +--- drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c | 5 - drivers/staging/lustre/lustre/ldlm/ldlm_request.c | 66 ++----------- drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 25 ++--- .../staging/lustre/lustre/llite/llite_internal.h | 2 drivers/staging/lustre/lustre/llite/llite_lib.c | 4 - drivers/staging/lustre/lustre/llite/llite_nfs.c | 2 drivers/staging/lustre/lustre/llite/lproc_llite.c | 12 +- drivers/staging/lustre/lustre/llite/statahead.c | 4 - drivers/staging/lustre/lustre/llite/vvp_internal.h | 8 +- drivers/staging/lustre/lustre/lmv/lmv_internal.h | 2 drivers/staging/lustre/lustre/lmv/lmv_obd.c | 2 .../staging/lustre/lustre/lov/lov_cl_internal.h | 18 ++- drivers/staging/lustre/lustre/lov/lov_internal.h | 2 drivers/staging/lustre/lustre/lov/lov_obd.c | 2 drivers/staging/lustre/lustre/lov/lov_request.c | 4 - drivers/staging/lustre/lustre/mdc/mdc_request.c | 2 drivers/staging/lustre/lustre/obdclass/cl_io.c | 1 drivers/staging/lustre/lustre/obdclass/cl_object.c | 1 drivers/staging/lustre/lustre/obdclass/genops.c | 2 .../lustre/lustre/obdclass/lprocfs_status.c | 12 +- drivers/staging/lustre/lustre/obdclass/lu_object.c | 8 +- .../staging/lustre/lustre/obdclass/obd_config.c | 2 .../staging/lustre/lustre/obdecho/echo_client.c | 2 drivers/staging/lustre/lustre/osc/osc_cache.c | 2 .../staging/lustre/lustre/osc/osc_cl_internal.h | 10 +- drivers/staging/lustre/lustre/osc/osc_internal.h | 2 drivers/staging/lustre/lustre/osc/osc_io.c | 2 drivers/staging/lustre/lustre/osc/osc_object.c | 11 +- drivers/staging/lustre/lustre/osc/osc_page.c | 4 - drivers/staging/lustre/lustre/osc/osc_request.c | 6 + drivers/staging/lustre/lustre/ptlrpc/client.c | 4 - drivers/staging/lustre/lustre/ptlrpc/import.c | 10 +- drivers/staging/lustre/lustre/ptlrpc/pinger.c | 23 ++-- drivers/staging/lustre/lustre/ptlrpc/service.c | 6 + include/linux/kernel.h | 16 +++ 66 files changed, 284 insertions(+), 606 deletions(-) delete mode 100644 drivers/staging/lustre/include/linux/libcfs/libcfs_time.h delete mode 100644 drivers/staging/lustre/include/linux/libcfs/linux/linux-time.h -- Signature