Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp48530pxb; Wed, 14 Apr 2021 09:08:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8EQHPcVroL+Hc+PlIpRkv/LLJjXEfOMSs4rSNpiGOSoZGvYu3674e9Jim/SJMGJ7L/cXX X-Received: by 2002:a63:ab05:: with SMTP id p5mr38380824pgf.149.1618416522320; Wed, 14 Apr 2021 09:08:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618416522; cv=none; d=google.com; s=arc-20160816; b=y+lhszBxsywrPIzHBat0lxUEkkPEIH+r9sio0thNaszqSjC07TITzxpPv29eRKEc/u 1jzm6z7N1DrnblLMf/VoWD/ROOkqYL8ZhxmSa+O6WiFAfV/k9tHC1qAIjx0JIxdu4nG7 sYA226rj97PH7VF8lro/A5yn4LMfstoC0EGONDdtQTFSbZr8mgeJqavYgEP5Vqbx63Pe UDWeWQ34gJ742VTTNo5diTZCihA0DR4O8g9WTgqXsFK/ddEeAxiY+k0G0qLz9l8ZkAoh YWx7YjwgSeDu+E5rdEJDJPkgO9+lQOGmru/FRWtM9vZZeex44SFXMOqI9HWD9sZdReUU PP2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=6RVZxAohA6XWO2YqHe5wyFJ/TSxwCSiU+S5MAsXDKjQ=; b=H5XCI+JTXVwqQP/PO3aOVFdKOEpfP4HCq5VBNYTfN2ZXOud65gxp9iqHSpq0WANJA/ 8YTwjDxMkWOahdpo31Ssa2D15naFp4lFSIf10dhO7fY1Jl5NFwjW97EhFStcbyDJNvnN XPXaynvoIW+2seoRgtS3eyQVxaYjTsvdb8Hn1incODpx0aREdy+RNv3hhp+2hrCba/z5 4unkyM1FiYsrCaeDyv1cP7E5HmTRchrV9qI4GcwM9lty6l7aFIew79xF50xSyUj1SFh5 TK8vOyP/GPy74eO6zqbeN4arrzzvdR5OhgSnT5feYWBnNGS9OuvSWv0iLh1ED/6vjdMp 7VOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NokslGvp; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n16si23308742pfv.271.2021.04.14.09.08.20; Wed, 14 Apr 2021 09:08:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NokslGvp; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239513AbhDNNof (ORCPT + 99 others); Wed, 14 Apr 2021 09:44:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:52144 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351585AbhDNNoR (ORCPT ); Wed, 14 Apr 2021 09:44:17 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DEF93611B0 for ; Wed, 14 Apr 2021 13:43:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1618407836; bh=V5X6yA3MN6KRnuZ82v7bhzecoijFgN0fpVDH5KVCCl0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NokslGvpox4MNFQjgtnTuKQT2xXOVfsWnOc8kj1jVV08yIWbcED05RNtSicbyYDCZ l4L1c9q9/rkjFXs4Q6IoFoTg36mb5k8YDwOpBCLT+1uRmkzWDdkhIq+/ChIFgj5IcX gOuOaeb1OAb2rqUgFF4OKQqyt+O4Jw0teumE0yA8gcsOG42MLyLPJl2U2rSsvJzC/5 x5WLEri9nM3Ci3Uhn4asmUsl6hnIMXDjKDglSSFUcjei4iBlNz9Qtk45Etox3zz7TR iwc0j854iEKMtb1A5UTwqV11IXK4pBW1811Fv1KiBBi7hRpxoRPdkxNssV4vV4hIr/ 7HCVBMk4a/l4g== From: trondmy@kernel.org To: linux-nfs@vger.kernel.org Subject: [PATCH v2 02/26] NFS: Fix up inode cache tracing Date: Wed, 14 Apr 2021 09:43:29 -0400 Message-Id: <20210414134353.11860-3-trondmy@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210414134353.11860-2-trondmy@kernel.org> References: <20210414134353.11860-1-trondmy@kernel.org> <20210414134353.11860-2-trondmy@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org From: Trond Myklebust Add missing enum definitions and missing entries for nfs_show_cache_validity(). Signed-off-by: Trond Myklebust --- fs/nfs/nfstrace.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fs/nfs/nfstrace.h b/fs/nfs/nfstrace.h index 5a59dcdce0b2..cdba6eebe3cb 100644 --- a/fs/nfs/nfstrace.h +++ b/fs/nfs/nfstrace.h @@ -45,6 +45,9 @@ TRACE_DEFINE_ENUM(NFS_INO_INVALID_CTIME); TRACE_DEFINE_ENUM(NFS_INO_INVALID_MTIME); TRACE_DEFINE_ENUM(NFS_INO_INVALID_SIZE); TRACE_DEFINE_ENUM(NFS_INO_INVALID_OTHER); +TRACE_DEFINE_ENUM(NFS_INO_DATA_INVAL_DEFER); +TRACE_DEFINE_ENUM(NFS_INO_INVALID_BLOCKS); +TRACE_DEFINE_ENUM(NFS_INO_INVALID_XATTR); #define nfs_show_cache_validity(v) \ __print_flags(v, "|", \ @@ -60,6 +63,8 @@ TRACE_DEFINE_ENUM(NFS_INO_INVALID_OTHER); { NFS_INO_INVALID_MTIME, "INVALID_MTIME" }, \ { NFS_INO_INVALID_SIZE, "INVALID_SIZE" }, \ { NFS_INO_INVALID_OTHER, "INVALID_OTHER" }, \ + { NFS_INO_DATA_INVAL_DEFER, "DATA_INVAL_DEFER" }, \ + { NFS_INO_INVALID_BLOCKS, "INVALID_BLOCKS" }, \ { NFS_INO_INVALID_XATTR, "INVALID_XATTR" }) TRACE_DEFINE_ENUM(NFS_INO_ADVISE_RDPLUS); -- 2.30.2