From patchwork Tue Mar 1 19:37:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Wysochanski X-Patchwork-Id: 12765100 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D25D9C433EF for ; Tue, 1 Mar 2022 19:38:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236981AbiCATjI (ORCPT ); Tue, 1 Mar 2022 14:39:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236904AbiCATjH (ORCPT ); Tue, 1 Mar 2022 14:39:07 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6CC8C6548E for ; Tue, 1 Mar 2022 11:38:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646163503; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=jxmlHyJszZ33Ouc9QeUczvba3E4YWbIAEbTImDzI3rk=; b=c632yLvkTJ/oseISzyJBeNuqpewUvGaYM0/SoGwdOWkeh5ApIAo40hJM9825WoGWem3SWh b+9JrSxHPKKZYbp9SAumVHi7fLDWqjJrkUdbBPjxNcdvw1ZaM0tCesIwsQsM1jBi6BB91C NfCJzIQO+Nxz7VqLMmcv0/R8K9KuQ/g= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-251-Cay1_CxRPt20liqDh9g7Uw-1; Tue, 01 Mar 2022 14:38:22 -0500 X-MC-Unique: Cay1_CxRPt20liqDh9g7Uw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 07FF251DC; Tue, 1 Mar 2022 19:38:21 +0000 (UTC) Received: from dwysocha.rdu.csb (unknown [10.22.9.75]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7F3BB5DAA5; Tue, 1 Mar 2022 19:37:28 +0000 (UTC) From: Dave Wysochanski To: Anna Schumaker , Trond Myklebust Cc: linux-nfs@vger.kernel.org, linux-cachefs@redhat.com, David Howells Subject: [PATCH 0/4] Cleanups for NFS fscache and convert from dfprintk to trace events Date: Tue, 1 Mar 2022 14:37:23 -0500 Message-Id: <20220301193727.18847-1-dwysocha@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org This is a re-post of these patches, unchanged from previous postings [1][2], rebased on top of 5.17-rc5. The patches were dependent on dhowells patchset which was taken in the last merge window, so they apply on 5.17-rc5 cleanly now. [1] https://marc.info/?l=linux-nfs&m=164225455702418&w=2 [2] https://marc.info/?l=linux-nfs&m=163976362831065&w=2 Dave Wysochanski (4): NFS: Cleanup usage of nfs_inode in fscache interface NFS: Rename fscache read and write pages functions NFS: Replace dfprintks with tracepoints in fscache read and write page functions NFS: Remove remaining dfprintks related to fscache and remove NFSDBG_FSCACHE fs/nfs/fscache.c | 53 +++++++-------------- fs/nfs/fscache.h | 45 ++++++++---------- fs/nfs/nfstrace.h | 91 +++++++++++++++++++++++++++++++++++++ fs/nfs/read.c | 4 +- include/uapi/linux/nfs_fs.h | 2 +- 5 files changed, 130 insertions(+), 65 deletions(-)