BACKPORT: f2fs: expose # of overprivision segments

This is useful when checking conditions during checkpoint=disable in Android.

Bug: 330501081
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
(cherry picked from commit ed5309ad137e1f467ca1e1b61be3dc39d144316c)
[hakan: Resolved minor conflict in Documentation/ABI/testing/sysfs-fs-f2fs]
Signed-off-by: Håkan Kvist <[email protected]>
Change-Id: I0bd59501836fbe8fe361da2872ae660f3ac1f541
This commit is contained in:
Jaegeuk Kim 2021-03-01 17:28:16 -08:00 • committed by Daniel Rosenberg
commit b558f0cc4d
2 changed files with 14 additions and 0 deletions

View file

@ -347,3 +347,8 @@ Date: April 2020
Contact: "Daeho Jeong" <[email protected]>
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>/ovp_segments
Date: March 2021
Contact: "Jaegeuk Kim" <[email protected]>
Description: Shows the number of overprovision segments.