All of lore.kernel.org
 help / color / mirror / Atom feed
* Any tools of f2fs to inspect infos?
@ 2020-07-01  7:29 lampahome
  2020-07-01  9:16   ` [f2fs-dev] " Gao Xiang
  0 siblings, 1 reply; 7+ 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] 7+ 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
  0 siblings, 0 replies; 7+ 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] 7+ messages in thread

* [f2fs-dev] Fwd: Any tools of f2fs to inspect infos?
@ 2020-07-01  9:16   ` Gao Xiang
  0 siblings, 0 replies; 7+ messages in thread
From: Gao Xiang @ 2020-07-01  9:16 UTC (permalink / raw)
  To: lampahome; +Cc: linux-fsdevel, jaegeuk, linux-f2fs-devel

(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



_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

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

* Re: Fwd: Any tools of f2fs to inspect infos?
  2020-07-01  9:16   ` [f2fs-dev] " Gao Xiang
@ 2020-07-01 16:08     ` Jaegeuk Kim
  -1 siblings, 0 replies; 7+ 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] 7+ messages in thread

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

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


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

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

* Re: Fwd: Any tools of f2fs to inspect infos?
  2020-07-01 16:08     ` [f2fs-dev] " Jaegeuk Kim
@ 2020-07-02  3:00       ` lampahome
  -1 siblings, 0 replies; 7+ 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] 7+ messages in thread

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

> # 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?


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

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

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

Thread overview: 7+ 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  9:16   ` [f2fs-dev] " Gao Xiang
2020-07-01 16:08   ` Jaegeuk Kim
2020-07-01 16:08     ` [f2fs-dev] " Jaegeuk Kim
2020-07-02  3:00     ` lampahome
2020-07-02  3:00       ` [f2fs-dev] " lampahome

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.