linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Any tools of f2fs to inspect infos?
@ 2020-07-01  7:29 lampahome
  2020-07-01  9:16 ` Fwd: " Gao Xiang
  0 siblings, 1 reply; 4+ messages in thread
From: lampahome @ 2020-07-01  7:29 UTC (permalink / raw)
  To: linux-fsdevel

As title

Any tools of f2fs to inspect like allocated segments, hot/warm/cold
ratio, or gc is running?

thx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Fwd: Any tools of f2fs to inspect infos?
  2020-07-01  7:29 Any tools of f2fs to inspect infos? lampahome
@ 2020-07-01  9:16 ` Gao Xiang
  2020-07-01 16:08   ` Jaegeuk Kim
  0 siblings, 1 reply; 4+ messages in thread
From: Gao Xiang @ 2020-07-01  9:16 UTC (permalink / raw)
  To: lampahome; +Cc: linux-fsdevel, linux-f2fs-devel, jaegeuk, chao

(cc linux-f2fs-devel, Jaegeuk, Chao.
 It'd be better to ask related people and cc the corresponding list.)

On Wed, Jul 01, 2020 at 03:29:41PM +0800, lampahome wrote:
> As title
> 
> Any tools of f2fs to inspect like allocated segments, hot/warm/cold
> ratio, or gc is running?
> 
> thx


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Fwd: Any tools of f2fs to inspect infos?
  2020-07-01  9:16 ` Fwd: " Gao Xiang
@ 2020-07-01 16:08   ` Jaegeuk Kim
  2020-07-02  3:00     ` lampahome
  0 siblings, 1 reply; 4+ messages in thread
From: Jaegeuk Kim @ 2020-07-01 16:08 UTC (permalink / raw)
  To: Gao Xiang; +Cc: lampahome, linux-fsdevel, linux-f2fs-devel, chao

On 07/01, Gao Xiang wrote:
> (cc linux-f2fs-devel, Jaegeuk, Chao.
>  It'd be better to ask related people and cc the corresponding list.)
> 
> On Wed, Jul 01, 2020 at 03:29:41PM +0800, lampahome wrote:
> > As title
> > 
> > Any tools of f2fs to inspect like allocated segments, hot/warm/cold
> > ratio, or gc is running?

# cat /sys/kernel/debug/f2fs/status ?

> > 
> > thx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Fwd: Any tools of f2fs to inspect infos?
  2020-07-01 16:08   ` Jaegeuk Kim
@ 2020-07-02  3:00     ` lampahome
  0 siblings, 0 replies; 4+ messages in thread
From: lampahome @ 2020-07-02  3:00 UTC (permalink / raw)
  To: Jaegeuk Kim; +Cc: Gao Xiang, linux-fsdevel, linux-f2fs-devel, chao

> # cat /sys/kernel/debug/f2fs/status ?
That's good, I saw info I need

And I also found a f2fs-tools which contains dump.f2fs
dump.f2fs -a will dump SSA info.

How to read the SSA entry info from the dumped file named dump_ssa?
It looks like:
segno: 0, Current Node

[0: d93][1: d95]...etc
[10: da2]...etc
...etc

Take [0: d93] for example, 0 means the first segment and d93 means what?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-02  3:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-01  7:29 Any tools of f2fs to inspect infos? lampahome
2020-07-01  9:16 ` Fwd: " Gao Xiang
2020-07-01 16:08   ` Jaegeuk Kim
2020-07-02  3:00     ` lampahome

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).