From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3AA7CC4363D for ; Wed, 21 Oct 2020 04:41:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E07E122242 for ; Wed, 21 Oct 2020 04:41:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603255293; bh=US29mnjG65+3xtVs/p9mRVy5ww8iDF1b1Klps/Bj9SM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=ST8U+XnQ0e61haWtn33478BNMG4c8ZIjVsZSC65f9IG3ZDXYVtjnFlf1DfJ+6zXcx QEX76CPPqX/xTq0bsKgXNIZ89z3YcgXQulnwzVDHHtJd4kJgx8eDMw5NXHLvh86SOW /ZLI2qduel+YRexpAES4W5dExRRkbf+5kGoZlURU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2440210AbgJUEgX (ORCPT ); Wed, 21 Oct 2020 00:36:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:50240 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2440202AbgJUEgX (ORCPT ); Wed, 21 Oct 2020 00:36:23 -0400 Received: from sol.localdomain (172-10-235-113.lightspeed.sntcca.sbcglobal.net [172.10.235.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 706FC20795; Wed, 21 Oct 2020 04:36:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603254982; bh=US29mnjG65+3xtVs/p9mRVy5ww8iDF1b1Klps/Bj9SM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qm0rDQEMO6FxAufRXSJzGlC11JAZp8mUhBKuSp8/KCUbIVIz2e3ZK/zpuc9tPHQJR xyVfn1ffwy98bI3Y3wxsYh0nkkT9hg8MGFpOvuXp8EUj10fAEZ6+6sgukkKLVVjRK6 brPMbI6yrVgvbZp0gRAXZ0jaD+ei+bUGI3exsISc= Date: Tue, 20 Oct 2020 21:36:20 -0700 From: Eric Biggers To: Daeho Jeong Cc: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com, Daeho Jeong Subject: Re: [f2fs-dev] [PATCH] f2fs: add compr_inode and compr_blocks sysfs nodes Message-ID: <20201021043620.GA3939@sol.localdomain> References: <20201016051455.1913795-1-daeho43@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201016051455.1913795-1-daeho43@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 16, 2020 at 02:14:55PM +0900, Daeho Jeong wrote: > From: Daeho Jeong > > Added compr_inode to show compressed inode count and compr_blocks to > show compressed block count in sysfs. > > Signed-off-by: Daeho Jeong > --- > Documentation/ABI/testing/sysfs-fs-f2fs | 10 ++++++++++ > fs/f2fs/sysfs.c | 17 +++++++++++++++++ > 2 files changed, 27 insertions(+) > > diff --git a/Documentation/ABI/testing/sysfs-fs-f2fs b/Documentation/ABI/testing/sysfs-fs-f2fs > index 834d0becae6d..a01c26484c69 100644 > --- a/Documentation/ABI/testing/sysfs-fs-f2fs > +++ b/Documentation/ABI/testing/sysfs-fs-f2fs > @@ -350,3 +350,13 @@ Date: April 2020 > Contact: "Daeho Jeong" > Description: Give a way to change iostat_period time. 3secs by default. > The new iostat trace gives stats gap given the period. > + > +What: /sys/fs/f2fs//compr_inode > +Date: October 2020 > +Contact: "Daeho Jeong" > +Description: Show compressed inode count > + > +What: /sys/fs/f2fs//compr_blocks > +Date: October 2020 > +Contact: "Daeho Jeong" > +Description: Show compressed block count Is it the count in memory, or on disk? - Eric