From patchwork Thu Dec 16 09:44:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Ghiti X-Patchwork-Id: 12696411 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 83F46C433EF for ; Thu, 16 Dec 2021 09:48:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Isq162NIfqG4UYQBeknaIUoqF544ivaLiXSbyufSP0s=; b=pYutx84Fgiaaxq BwikOgN1nO1Q62fwT/mKw3L1/HJ+ahB+KVMbxXjLyyW0TIimugHcje8L6fBF27KUpCMSj8aULTisE DMB+XyoZN8QiPUgDnipd30YHJS1xi+yS/Iro2mb2tqTg/1UEavKpXUPpRAt1ccW9+Jypepqn1kD1H nr0WBe9a10Mnx+qfG9S/InZviMJc+iuDJnicOv98M1AsWtbRRr983HhBvw6qnsL/ndcSsE2K2HQXO A2Y87K0luvkM0domQ3EgCCHPXFPdiPv4R+5WNXSXqUqWGsYDj6D2EgzF+IB02IrHMItwfA7VwjU3k PwlPF43yC04OOqeKz6DQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxnKw-004ZiC-Bf; Thu, 16 Dec 2021 09:46:10 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxnKn-004Zfz-7n for linux-arm-kernel@lists.infradead.org; Thu, 16 Dec 2021 09:45:58 +0000 Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 14E8F3F1FD for ; Thu, 16 Dec 2021 09:45:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1639647956; bh=ifKlZYGTOPdFCSDCTOtZXvFjnN1ta3FdQcJv2C1mO4Q=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=fVzS7WDZ0tvqCBRSF/9uRZczVkmYw+UAiie968Cs1axe3IZviSKT0Qow5+aYq6KQy MWedyIX10027/Hwfv8QIn78oW8tG9Xi1TIKmnPXxv/mPBgmjgTlB/23MQPK2f18Z+k xUpwygNe2W3FmVFwl66Lmsv6FoQqN9Jb5hdllGOPtOu2V/N9edGiaFiziw8Ujjwv96 RNTj0DDhpXKyo9zXhPazHAcKhN1eVN1L3IC3OKlJpuUN7zOTG/QBM/6hmhAkBfVQJ5 Gob2Dq+OmSOunryjsfCRWku+5EOtDsRhLfgW+0kuMcctfM8CdcPSVCraRTy6YEHnxI La11wlELrWb9A== Received: by mail-wm1-f70.google.com with SMTP id p13-20020a05600c1d8d00b0034565e7e5c6so2182949wms.9 for ; Thu, 16 Dec 2021 01:45:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ifKlZYGTOPdFCSDCTOtZXvFjnN1ta3FdQcJv2C1mO4Q=; b=uB3OPTXhEGw4wBFqCeh2opDlkNxRwIOToM2L38ArTw82MxUb0lPLOpxUoArPjw3Vvs 52e7aU6JGg5/OGgR0sAksPcjfpH4SLdQg7/01qES1XC6dR+KpASk790ENFApJa6hm7TO 5GCyt5BcZPF1omolHz1yvBXpmlRfx1zHnvrSI5SIV8zpHaQKuUFDOEdaedkSZIFZInDx 7AzDQoWSlGc0blCD/mnL+lfKZsN6KON+fo+Bv4X2vjzxUxWwCkw66WSQCC0+1o4Ec+5P cC5kkRdIBD1+kMJrzrK5Al8kg96E85s5vzLzMFdN4/h9fOjLUdeCb9PRzoyqDk5NVpAL vYgw== X-Gm-Message-State: AOAM530kSIUFDSIsWKaGmsGBKxxvXcHrOf8oVcToTxojCzbxUl/ZWmWZ yVeXnQLMqF67kF/G8UWC4NM1A3PG6WedxyErA8bQynHsPhtq87nAxporPj/DlarR+4ivtHoXHcU ZrUDWRX09dNmhi34xtlUtY7taqYrlbFzN+Z5nfhkOBdM6HQAllSDW X-Received: by 2002:a5d:59af:: with SMTP id p15mr8145367wrr.314.1639647955366; Thu, 16 Dec 2021 01:45:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJyzUGy/dKebedUXgoem/d6gyVVYcP7Z2hszf3HxXNiUwHW6hBLUxxafQ7sSJ/XEtEqxAbevgA== X-Received: by 2002:a5d:59af:: with SMTP id p15mr8145334wrr.314.1639647955104; Thu, 16 Dec 2021 01:45:55 -0800 (PST) Received: from alex.home (lfbn-gre-1-195-1.w90-112.abo.wanadoo.fr. [90.112.158.1]) by smtp.gmail.com with ESMTPSA id t8sm4349398wrv.30.2021.12.16.01.45.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 01:45:54 -0800 (PST) From: Alexandre Ghiti To: Steve French , Jonathan Corbet , David Howells , Russell King , Thomas Bogendoerfer , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Yoshinori Sato , Rich Felker , Matti Vaittinen , Lee Jones , Jeff Layton , Greg Kroah-Hartman , Arnd Bergmann , Ronnie Sahlberg , Guenter Roeck , Wim Van Sebroeck , Lukas Bulwahn , Luis Chamberlain , Kalle Valo , linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-cachefs@redhat.com, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org, linux-power@fi.rohmeurope.com Cc: Alexandre Ghiti Subject: [PATCH v2 1/6] Documentation, arch: Remove leftovers from fscache/cachefiles histograms Date: Thu, 16 Dec 2021 10:44:21 +0100 Message-Id: <20211216094426.2083802-2-alexandre.ghiti@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211216094426.2083802-1-alexandre.ghiti@canonical.com> References: <20211216094426.2083802-1-alexandre.ghiti@canonical.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211216_014557_456150_845EA686 X-CRM114-Status: GOOD ( 17.96 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org A few references to the fscache and cachefiles histograms were left in the Documentation and some arch defconfigs: remove them since those configs do not exist anymore. Fixes: 6ae9bd8bb037("fscache, cachefiles: Remove the histogram stuff") Signed-off-by: Alexandre Ghiti Acked-by: Arnd Bergmann [arch/arm/configs] --- .../filesystems/caching/cachefiles.rst | 34 ------------------- Documentation/filesystems/caching/fscache.rst | 34 ++----------------- arch/arm/configs/axm55xx_defconfig | 2 -- 3 files changed, 2 insertions(+), 68 deletions(-) diff --git a/Documentation/filesystems/caching/cachefiles.rst b/Documentation/filesystems/caching/cachefiles.rst index e58bc1fd312a..e59861458029 100644 --- a/Documentation/filesystems/caching/cachefiles.rst +++ b/Documentation/filesystems/caching/cachefiles.rst @@ -424,40 +424,6 @@ for CacheFiles to run in a context of a specific security label, or to create files and directories with another security label. -Statistical Information -======================= - -If FS-Cache is compiled with the following option enabled:: - - CONFIG_CACHEFILES_HISTOGRAM=y - -then it will gather certain statistics and display them through a proc file. - - /proc/fs/cachefiles/histogram - - :: - - cat /proc/fs/cachefiles/histogram - JIFS SECS LOOKUPS MKDIRS CREATES - ===== ===== ========= ========= ========= - - This shows the breakdown of the number of times each amount of time - between 0 jiffies and HZ-1 jiffies a variety of tasks took to run. The - columns are as follows: - - ======= ======================================================= - COLUMN TIME MEASUREMENT - ======= ======================================================= - LOOKUPS Length of time to perform a lookup on the backing fs - MKDIRS Length of time to perform a mkdir on the backing fs - CREATES Length of time to perform a create on the backing fs - ======= ======================================================= - - Each row shows the number of events that took a particular range of times. - Each step is 1 jiffy in size. The JIFS column indicates the particular - jiffy range covered, and the SECS field the equivalent number of seconds. - - Debugging ========= diff --git a/Documentation/filesystems/caching/fscache.rst b/Documentation/filesystems/caching/fscache.rst index 70de86922b6a..66e31a6d1070 100644 --- a/Documentation/filesystems/caching/fscache.rst +++ b/Documentation/filesystems/caching/fscache.rst @@ -201,10 +201,9 @@ Statistical Information If FS-Cache is compiled with the following options enabled:: CONFIG_FSCACHE_STATS=y - CONFIG_FSCACHE_HISTOGRAM=y -then it will gather certain statistics and display them through a number of -proc files. +then it will gather certain statistics and display them through the following +proc file. /proc/fs/fscache/stats ---------------------- @@ -413,35 +412,6 @@ proc files. -/proc/fs/fscache/histogram --------------------------- - - :: - - cat /proc/fs/fscache/histogram - JIFS SECS OBJ INST OP RUNS OBJ RUNS RETRV DLY RETRIEVLS - ===== ===== ========= ========= ========= ========= ========= - - This shows the breakdown of the number of times each amount of time - between 0 jiffies and HZ-1 jiffies a variety of tasks took to run. The - columns are as follows: - - ========= ======================================================= - COLUMN TIME MEASUREMENT - ========= ======================================================= - OBJ INST Length of time to instantiate an object - OP RUNS Length of time a call to process an operation took - OBJ RUNS Length of time a call to process an object event took - RETRV DLY Time between an requesting a read and lookup completing - RETRIEVLS Time between beginning and end of a retrieval - ========= ======================================================= - - Each row shows the number of events that took a particular range of times. - Each step is 1 jiffy in size. The JIFS column indicates the particular - jiffy range covered, and the SECS field the equivalent number of seconds. - - - Object List =========== diff --git a/arch/arm/configs/axm55xx_defconfig b/arch/arm/configs/axm55xx_defconfig index 46075216ee6d..b36e0b347d1f 100644 --- a/arch/arm/configs/axm55xx_defconfig +++ b/arch/arm/configs/axm55xx_defconfig @@ -204,11 +204,9 @@ CONFIG_FUSE_FS=y CONFIG_CUSE=y CONFIG_FSCACHE=y CONFIG_FSCACHE_STATS=y -CONFIG_FSCACHE_HISTOGRAM=y CONFIG_FSCACHE_DEBUG=y CONFIG_FSCACHE_OBJECT_LIST=y CONFIG_CACHEFILES=y -CONFIG_CACHEFILES_HISTOGRAM=y CONFIG_ISO9660_FS=y CONFIG_UDF_FS=y CONFIG_MSDOS_FS=y