forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
f2fs: export migration_granularity sysfs entry
Add one sysfs entry to control migration granularity of GC in large section f2fs, it can be tuned to mitigate heavy overhead of migrating huge number of blocks in large section. Signed-off-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
- Loading branch information
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,6 +92,15 @@ Contact: "Jaegeuk Kim" <[email protected]> | |
Description: | ||
Controls the number of trials to find a victim segment. | ||
|
||
What: /sys/fs/f2fs/<disk>/migration_granularity | ||
Date: October 2018 | ||
Contact: "Chao Yu" <[email protected]> | ||
Description: | ||
Controls migration granularity of garbage collection on large | ||
section, it can let GC move partial segment{s} of one section | ||
in one GC cycle, so that dispersing heavy overhead GC to | ||
multiple lightweight one. | ||
|
||
What: /sys/fs/f2fs/<disk>/dir_level | ||
Date: March 2014 | ||
Contact: "Jaegeuk Kim" <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters