diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2013-08-04 10:09:40 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-08-06 08:53:34 -0400 |
commit | b59d0bae6ca30c496f298881616258f9cde0d9c6 (patch) | |
tree | 04c6a23cfed2ef045a56ca090cbfd510ca3e5e5e /Documentation/filesystems | |
parent | f0c5e565bb05a4cd6105bb197c56078462252e78 (diff) |
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>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r-- | Documentation/filesystems/f2fs.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesystems/f2fs.txt index 0500c198cd08..5daf3bb2eef9 100644 --- a/Documentation/filesystems/f2fs.txt +++ b/Documentation/filesystems/f2fs.txt | |||
@@ -133,6 +133,32 @@ f2fs. Each file shows the whole f2fs information. | |||
133 | - current memory footprint consumed by f2fs. | 133 | - current memory footprint consumed by f2fs. |
134 | 134 | ||
135 | ================================================================================ | 135 | ================================================================================ |
136 | SYSFS ENTRIES | ||
137 | ================================================================================ | ||
138 | |||
139 | Information about mounted f2f2 file systems can be found in | ||
140 | /sys/fs/f2fs. Each mounted filesystem will have a directory in | ||
141 | /sys/fs/f2fs based on its device name (i.e., /sys/fs/f2fs/sda). | ||
142 | The files in each per-device directory are shown in table below. | ||
143 | |||
144 | Files in /sys/fs/f2fs/<devname> | ||
145 | (see also Documentation/ABI/testing/sysfs-fs-f2fs) | ||
146 | .............................................................................. | ||
147 | File Content | ||
148 | |||
149 | gc_max_sleep_time This tuning parameter controls the maximum sleep | ||
150 | time for the garbage collection thread. Time is | ||
151 | in milliseconds. | ||
152 | |||
153 | gc_min_sleep_time This tuning parameter controls the minimum sleep | ||
154 | time for the garbage collection thread. Time is | ||
155 | in milliseconds. | ||
156 | |||
157 | gc_no_gc_sleep_time This tuning parameter controls the default sleep | ||
158 | time for the garbage collection thread. Time is | ||
159 | in milliseconds. | ||
160 | |||
161 | ================================================================================ | ||
136 | USAGE | 162 | USAGE |
137 | ================================================================================ | 163 | ================================================================================ |
138 | 164 | ||