Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5042112pxu; Wed, 21 Oct 2020 11:39:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKxUZN5xTC0DXrbbtgp9+3qwlUPKsV43M53XnpFA9JwhwF5Y9W9DZOpB4BszBN1Orbrleb X-Received: by 2002:a05:6402:289:: with SMTP id l9mr4470876edv.294.1603305583667; Wed, 21 Oct 2020 11:39:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603305583; cv=none; d=google.com; s=arc-20160816; b=ntj46lpWs2BCZQObuWa6TkG2OWpX2wU4iFfTrgaPD1uudX7NV0lMQ+QFJW9P8y8rkb YLMxnLVjZnGg4EDISKAq9WI6vuKUcegVBHwKxuMinEqoE9WNrvpvn7RE7mAV/5w9+TO+ REig8qvGTyw+rFjUmsHHZ07o27N5r1CNHtBt/9LZ936UqQu/Xd/Xndp6ApQRntCJy8JM He5cOPqhMeTQbsW+idoRFVc55HEXiQ5h5LWYeIi6Yr681iOvE4sKXaPG3SpSwrYegPD2 YMiChZ3MsLPYwlgljVtlETZ9af4mGv3J0q+40c8oZi9AOBWVjTbgHV6Soh04xnLLExup s4sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=lESAiDDvvz5V+Lr5Rzb9SIGtKe3pfdrGxS83jzaKtnU=; b=HIXSna4HcmwH823brFDaNA+JN7NHfYXvlQYx3qKvWkL+I1t+mXkTwT0mNYHc/mUtr7 tRIS6QjnkLebyoUmvYrElUy71Jkt+8r4GzFaikKXSPLRutCG1VL48oi80gOElZe5tL70 bqGPxkXviM4U8PxjM4b341+Dl9kKBfDic/Y+DsIk6tmff0/c/YPH95LBcLJXVPvJdDnN ZS5frRZIibs7rTo7wwxS7IgMr7RJ/EkLl3X46lNU5MaVY09kutTU3Joxt2Pz1ao/FI+r ojxvQ+OISEyqGi3raoUD8t7B9nmZSV3sgR/ssu8Fzcbg7SUK11+pqyRT4G3QUkU7DaZl Zxsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qm0rDQEM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 o27si1796277ejh.256.2020.10.21.11.39.21; Wed, 21 Oct 2020 11:39:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=default header.b=qm0rDQEM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S2440206AbgJUEgX (ORCPT + 99 others); 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