Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5042395pxu; Wed, 21 Oct 2020 11:40:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUVVJ2EE/g+Ew1mj+XyFEJDRwNR+SB+rvz052jUx9RzInsNwvibrXEISu1CqVcebx/zpj1 X-Received: by 2002:a17:906:1183:: with SMTP id n3mr4514472eja.188.1603305615555; Wed, 21 Oct 2020 11:40:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603305615; cv=none; d=google.com; s=arc-20160816; b=yKXO64EQYB+D8uyQaEsA4JyEZBk6CvmFFr1ud1WoanltQpvB+Qj3vUlSOsMxHERESm jhJpgnUXjJC5Z9V+mXqK6cuNGW7ApyPQMn0uYU+0lwHqMb/i/jdAF3gZ3kvyOvzpClz0 LQeEKNKelKxax54h8Vbi1Khcl9RKEyMineS5yJRG4ARamfdk0Zquwy5OUbV5qtKNGAcN taYeEdOI5jfDMPupRc0ran6gr+8M5RoRLGNWHCTJsA8U8ZsJJkHnEZmF3xim2kVxgPBn CKDUIarnQk7hCDBOAkInQJZHxNNzjXaucwy+c/yHZMXD67wTorSytS4dmbb26JCDj5li 9zxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=BMPwfS6F9RfkISbd/IVCeP6a9+iWHhWjZw8peN2d994=; b=0o+y+rYdJQlF5VsvLxropq7AEx2/kZcmV6Oa05ruyrH18dHoIc4o+aG2BdRkse0isb /cawWfRuc+FjdXnXLGJrPCKmh9/x4nBhzVA3UhDHXV904bTSNmo5ezD83icnpgkm06rf dMgS+qLgyvRuUMC3OQI6K1WGGcbFt1XUivK0DuUJZednyv9yoBsHKTw/3HdYL9wH2H24 K1kCEcRgY2QbwnQA7V23FfhWpQlOI08rRXyi8UXak97oG7x1Hs+X6zyTivS6EkpxLRC2 1P/SBQ1Zff037UZszcsITCAA4MniAZ5KjKFuio5ycLNs7nEZ9lLMnYsnYeriEPuWXA1N Cd8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=c5A2MIHS; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ba2si1970196edb.503.2020.10.21.11.39.53; Wed, 21 Oct 2020 11:40:15 -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=@gmail.com header.s=20161025 header.b=c5A2MIHS; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2440287AbgJUEza (ORCPT + 99 others); Wed, 21 Oct 2020 00:55:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2440269AbgJUEza (ORCPT ); Wed, 21 Oct 2020 00:55:30 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9F6DC0613CE for ; Tue, 20 Oct 2020 21:55:29 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id c21so981775ljn.13 for ; Tue, 20 Oct 2020 21:55:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=BMPwfS6F9RfkISbd/IVCeP6a9+iWHhWjZw8peN2d994=; b=c5A2MIHSXHXxMSgfiDOh6ehXeM5T+QGOlai8e90NTNfQwhzt8CiIZRrqeTiLjxs85a elA9zaXYfGqei208XaQ74moAy8bc00iwwrAtouIM5RpQOA2mI61hZb/qyuqJEP29Vxck 7ux5oNT+nKbZEaS+OwN4akfyScn9U/OUnUFrjcbgM/AGfSe0x2ZuejKYq5l+KIzcYUhN evccciPuIwx00D9cWsGLrNVPl5T15fMXBYXy24wr7c1otFtHdvdHK8wjdM6L0zSgr2rf iDf9C3uqJbwQLOYZY9z64W9i01yauLMReYqFHLz8KzRR0LApStyhpUTV9uwHt79HtIn6 dIaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=BMPwfS6F9RfkISbd/IVCeP6a9+iWHhWjZw8peN2d994=; b=QUPep4lsFukIzTTP4Q6FqZ7Q0Vi/XcMwJdHdTxmUbVHqQ42ncgI4SSjPiYkaFIDMrX 02Lhho/ZJvz0E9ThXe8vLavGOU2JXpMKZL1gJrYcQxLCREdiwsOWIOoJhYISadJU5d29 K+lk5BsCNwHzQrzkMkgKRShNNdYqEhXKtgn0ykLYC++bGgk5hl5IN9kZ2b4sd5zgfv9b DMYWWF6YEH5NTQovvVJ5CCJhM46znGiixJQP1IVIMhxla6qcmzOCw4kOISlC69cLQ1r8 Pam+7IAlOnYYc9QzBaQFgVjJpy05tKabR2RFN378P41iKgS0xExnqfKdpJ/mawTVh2dO R7gw== X-Gm-Message-State: AOAM533U6Jamsoi9hDkAOD1L+fPpjWvQjWXo4Kaccs1lu9QLzHEyO5uJ OZx32Z64ltGpuqzNSs2ql7gw6Emp2HbzhmIT0bc= X-Received: by 2002:a2e:b61a:: with SMTP id r26mr582810ljn.166.1603256128177; Tue, 20 Oct 2020 21:55:28 -0700 (PDT) MIME-Version: 1.0 References: <20201016051455.1913795-1-daeho43@gmail.com> <20201021043620.GA3939@sol.localdomain> In-Reply-To: <20201021043620.GA3939@sol.localdomain> From: Daeho Jeong Date: Wed, 21 Oct 2020 13:55:17 +0900 Message-ID: Subject: Re: [f2fs-dev] [PATCH] f2fs: add compr_inode and compr_blocks sysfs nodes To: Eric Biggers Cc: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com, Daeho Jeong Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Both values are from memory values. 2020=EB=85=84 10=EC=9B=94 21=EC=9D=BC (=EC=88=98) =EC=98=A4=ED=9B=84 1:36, = Eric Biggers =EB=8B=98=EC=9D=B4 =EC=9E=91=EC=84=B1: > > 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/AB= I/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