-
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: add sysfs support for controlling the gc_thread
Add sysfs entries to control the timing parameters for f2fs gc thread. Various Sysfs options introduced are: gc_min_sleep_time: Min Sleep time for GC in ms gc_max_sleep_time: Max Sleep time for GC in ms gc_no_gc_sleep_time: Default Sleep time for GC in ms Cc: Gu Zheng <guz.fnst@cn.fujitsu.com> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Pankaj Kumar <pankaj.km@samsung.com> Reviewed-by: Gu Zheng <guz.fnst@cn.fujitsu.com> [Jaegeuk Kim: fix an umount bug and some minor changes] Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
- Loading branch information
Namjae Jeon
authored and
Jaegeuk Kim
committed
Aug 6, 2013
1 parent
f0c5e56
commit b59d0ba
Showing
6 changed files
with
203 additions
and
20 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
What: /sys/fs/f2fs/<disk>/gc_max_sleep_time | ||
Date: July 2013 | ||
Contact: "Namjae Jeon" <namjae.jeon@samsung.com> | ||
Description: | ||
Controls the maximun sleep time for gc_thread. Time | ||
is in milliseconds. | ||
|
||
What: /sys/fs/f2fs/<disk>/gc_min_sleep_time | ||
Date: July 2013 | ||
Contact: "Namjae Jeon" <namjae.jeon@samsung.com> | ||
Description: | ||
Controls the minimum sleep time for gc_thread. Time | ||
is in milliseconds. | ||
|
||
What: /sys/fs/f2fs/<disk>/gc_no_gc_sleep_time | ||
Date: July 2013 | ||
Contact: "Namjae Jeon" <namjae.jeon@samsung.com> | ||
Description: | ||
Controls the default sleep time for gc_thread. Time | ||
is in milliseconds. |
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
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