diff options
| author | Hridya Valsaraju <[email protected]> | 2020-01-22 10:51:16 -0800 |
|---|---|---|
| committer | Jaegeuk Kim <[email protected]> | 2020-01-23 09:24:25 -0800 |
| commit | fc7100ea2a52fcf200be75421bfd32652827d287 (patch) | |
| tree | d31ef4a2d52cc4bfab836544a3bcd4642f2a01a0 /scripts/gdb/linux/rbtree.py | |
| parent | f5fa7c8bb6307624b2177dfedc67da8dbc3a7a52 (diff) | |
f2fs: Add f2fs stats to sysfs
Currently f2fs stats are only available from /d/f2fs/status. This patch
adds some of the f2fs stats to sysfs so that they are accessible even
when debugfs is not mounted.
The following sysfs nodes are added:
-/sys/fs/f2fs/<disk>/free_segments
-/sys/fs/f2fs/<disk>/cp_foreground_calls
-/sys/fs/f2fs/<disk>/cp_background_calls
-/sys/fs/f2fs/<disk>/gc_foreground_calls
-/sys/fs/f2fs/<disk>/gc_background_calls
-/sys/fs/f2fs/<disk>/moved_blocks_foreground
-/sys/fs/f2fs/<disk>/moved_blocks_background
-/sys/fs/f2fs/<disk>/avg_vblocks
Signed-off-by: Hridya Valsaraju <[email protected]>
[Jaegeuk Kim: allow STAT_FS without DEBUG_FS]
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/rbtree.py')
0 files changed, 0 insertions, 0 deletions