lkml.org 
[lkml]   [2020]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [f2fs-dev] [PATCH] f2fs: add compr_inode and compr_blocks sysfs nodes
Both values are from memory values.

2020년 10월 21일 (수) 오후 1:36, Eric Biggers <ebiggers@kernel.org>님이 작성:

>
> On Fri, Oct 16, 2020 at 02:14:55PM +0900, Daeho Jeong wrote:
> > From: Daeho Jeong <daehojeong@google.com>
> >
> > Added compr_inode to show compressed inode count and compr_blocks to
> > show compressed block count in sysfs.
> >
> > Signed-off-by: Daeho Jeong <daehojeong@google.com>
> > ---
> > 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" <daehojeong@google.com>
> > 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/<disk>/compr_inode
> > +Date: October 2020
> > +Contact: "Daeho Jeong" <daehojeong@google.com>
> > +Description: Show compressed inode count
> > +
> > +What: /sys/fs/f2fs/<disk>/compr_blocks
> > +Date: October 2020
> > +Contact: "Daeho Jeong" <daehojeong@google.com>
> > +Description: Show compressed block count
>
> Is it the count in memory, or on disk?
>
> - Eric

\
 
 \ /
  Last update: 2020-10-21 06:55    [W:0.090 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site