Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4144155pxj; Mon, 21 Jun 2021 14:45:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwEIZFHJ/Asd0DX8YJMBjqZ0uOZdeX1m5UgTdXJpoGXNde5yhxAcrbDVSz7naHRl6ojhxe X-Received: by 2002:a05:6602:2bfa:: with SMTP id d26mr125332ioy.13.1624311947411; Mon, 21 Jun 2021 14:45:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624311947; cv=none; d=google.com; s=arc-20160816; b=oIUPLWvpdnGnuinYzYL9ffxA2G1SSipESz8h/du3sWxYm59kHJxBcs7mW+rRjc7pSR vcPu6gm9gImD2R6CSq33VlDRy6tRs2W8GtQ4ERK4ZQmMw1WCgd5F8uY9wxIXySxsgtri fHmOh4wAH77VqeqqQOUrNupCLFDVLCWW9+8KHAJDmt+LrXYDf+sC64oLoo4GrfZD4tP+ aAM5mlC+Rcfao/z3EqYiYseEGxozhOGgKk0tYUEcZQ0nPEHgVUkSfB5cX8TGk6Mwhx+q Ue07kjr3/C0UOxAwl1kEQqXiP3q9H/kQhsDf+VUMWUkF24V5QqqUO1euaHWTczNmWjEk lsfQ== 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 :user-agent:references:in-reply-to:message-id:date:cc:to:from :subject:organization:dkim-signature; bh=P12DHTvROaKPzooVSFg2eC6cY1TPe7SDCVWufI7SqWQ=; b=FqLc/U9h4hfRE76cvWM8P3MDPSltqOmqSO7GqjBQDLRUT3roZ+Y/hYjR4jNfAaxTT7 szsnOfinMBARo8yjxb/9Yw5hwG3SaE0rjPFoxRsbvFDlvIxRTFzC5BpnZP2C77WmXg/O YZN003IDxO4a5MaLBAfRCFwWC1NaUY5c+s9r1/nQgERawrzV51UQaaW//6cT/1/yTGQg Ojou6QsZT9SpLUWKPmMNiB469tqCutOdFux9vLx0fx5fOcrPsoly4/k+ngoDMTOc3oyf RxZ332MT1pl7pda1jDXHFWd7cEGAYiq4f852WMr57ipyhjv/fWRxpAfnDmh27xoHvVvL w+FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RB5HrQ9s; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y11si13263083jai.99.2021.06.21.14.45.35; Mon, 21 Jun 2021 14:45:47 -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=@redhat.com header.s=mimecast20190719 header.b=RB5HrQ9s; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231785AbhFUVrW (ORCPT + 99 others); Mon, 21 Jun 2021 17:47:22 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:54802 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231743AbhFUVrV (ORCPT ); Mon, 21 Jun 2021 17:47:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1624311905; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=P12DHTvROaKPzooVSFg2eC6cY1TPe7SDCVWufI7SqWQ=; b=RB5HrQ9sVRFb6tKtc87LE/Fk3G7+/yaoHmErSjBuP+umJmqlmocLbuW3A1E2U1f0mtkrBq dfQl3lPn2PNqfNwRoILxJxGua0X4c1Pf5hCFRuKQ55ToLaGWC1pBYfH9xoC0ZQW6V+S9Cc UZsTLbdMJY1dm0ckkYFzNrHMed84jLA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-189-k2ZRPku-Nke9YSCC_h4IqQ-1; Mon, 21 Jun 2021 17:45:04 -0400 X-MC-Unique: k2ZRPku-Nke9YSCC_h4IqQ-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9AC84100C610; Mon, 21 Jun 2021 21:45:02 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-118-65.rdu2.redhat.com [10.10.118.65]) by smtp.corp.redhat.com (Postfix) with ESMTP id 16E595C1C2; Mon, 21 Jun 2021 21:44:56 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 Subject: [PATCH 01/12] fscache: Select netfs stats if fscache stats are enabled From: David Howells To: linux-cachefs@redhat.com Cc: dhowells@redhat.com, Anna Schumaker , Steve French , Dominique Martinet , Jeff Layton , David Wysochanski , linux-afs@lists.infradead.org, linux-nfs@vger.kernel.org, linux-cifs@vger.kernel.org, ceph-devel@vger.kernel.org, v9fs-developer@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 21 Jun 2021 22:44:56 +0100 Message-ID: <162431189627.2908479.9165349423842063755.stgit@warthog.procyon.org.uk> In-Reply-To: <162431188431.2908479.14031376932042135080.stgit@warthog.procyon.org.uk> References: <162431188431.2908479.14031376932042135080.stgit@warthog.procyon.org.uk> User-Agent: StGit/0.23 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Unconditionally select the stats produced by the netfs lib if fscache stats are enabled as the former are displayed in the latter's procfile. Signed-off-by: David Howells cc: linux-cachefs@redhat.com --- fs/fscache/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/fscache/Kconfig b/fs/fscache/Kconfig index 427efa73b9bd..92c87d8e0913 100644 --- a/fs/fscache/Kconfig +++ b/fs/fscache/Kconfig @@ -14,6 +14,7 @@ config FSCACHE config FSCACHE_STATS bool "Gather statistical information on local caching" depends on FSCACHE && PROC_FS + select NETFS_STATS help This option causes statistical information to be gathered on local caching and exported through file: