This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
-
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.
We need a mid level of gc urgent mode to do GC forcibly in a period of given gc_urgent_sleep_time, but not like using greedy GC approach and switching to SSR mode such as gc urgent high mode. This can be used for more aggressive periodic storage clean up. Signed-off-by: Daeho Jeong <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]> Change-Id: If8b5292fe850300eee400323d9ca2291a3496832
- Loading branch information
Showing
5 changed files
with
24 additions
and
7 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 |
---|---|---|
|
@@ -228,9 +228,13 @@ Description: Shows current reserved blocks in system, it may be temporarily | |
What: /sys/fs/f2fs/<disk>/gc_urgent | ||
Date: August 2017 | ||
Contact: "Jaegeuk Kim" <[email protected]> | ||
Description: Do background GC agressively when set. When gc_urgent = 1, | ||
background thread starts to do GC by given gc_urgent_sleep_time | ||
interval. It is set to 0 by default. | ||
Description: Do background GC aggressively when set. Set to 0 by default. | ||
gc urgent(1): does GC forcibly in a period of given | ||
gc_urgent_sleep_time and ignores I/O idling check. uses greedy | ||
GC approach and turns SSR mode on. | ||
gc urgent mid(3): does GC forcibly in a period of given | ||
gc_urgent_sleep_time and executes a mid level of I/O idling check. | ||
uses cost benefit GC approach. | ||
|
||
What: /sys/fs/f2fs/<disk>/gc_urgent_sleep_time | ||
Date: August 2017 | ||
|
@@ -356,7 +360,7 @@ Date: July 2021 | |
Contact: "Daeho Jeong" <[email protected]> | ||
Description: Show how many segments have been reclaimed by GC during a specific | ||
GC mode (0: GC normal, 1: GC idle CB, 2: GC idle greedy, 3: GC idle AT, | ||
4: GC urgent), You can re-initialize this value to "0". | ||
4: GC urgent, 5: GC urgent mid), You can re-initialize this value to "0". | ||
|
||
What: /sys/fs/f2fs/<disk>/gc_segment_mode | ||
Date: July 2021 | ||
|
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
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
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
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