diff options
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r-- | Documentation/filesystems/f2fs.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesystems/f2fs.txt index a3fe811bbdbc..b8d284975f0f 100644 --- a/Documentation/filesystems/f2fs.txt +++ b/Documentation/filesystems/f2fs.txt | |||
@@ -120,6 +120,8 @@ active_logs=%u Support configuring the number of active logs. In the | |||
120 | disable_ext_identify Disable the extension list configured by mkfs, so f2fs | 120 | disable_ext_identify Disable the extension list configured by mkfs, so f2fs |
121 | does not aware of cold files such as media files. | 121 | does not aware of cold files such as media files. |
122 | inline_xattr Enable the inline xattrs feature. | 122 | inline_xattr Enable the inline xattrs feature. |
123 | inline_data Enable the inline data feature: New created small(<~3.4k) | ||
124 | files can be written into inode block. | ||
123 | 125 | ||
124 | ================================================================================ | 126 | ================================================================================ |
125 | DEBUGFS ENTRIES | 127 | DEBUGFS ENTRIES |
@@ -171,6 +173,28 @@ Files in /sys/fs/f2fs/<devname> | |||
171 | conduct checkpoint to reclaim the prefree segments | 173 | conduct checkpoint to reclaim the prefree segments |
172 | to free segments. By default, 100 segments, 200MB. | 174 | to free segments. By default, 100 segments, 200MB. |
173 | 175 | ||
176 | max_small_discards This parameter controls the number of discard | ||
177 | commands that consist small blocks less than 2MB. | ||
178 | The candidates to be discarded are cached until | ||
179 | checkpoint is triggered, and issued during the | ||
180 | checkpoint. By default, it is disabled with 0. | ||
181 | |||
182 | ipu_policy This parameter controls the policy of in-place | ||
183 | updates in f2fs. There are five policies: | ||
184 | 0: F2FS_IPU_FORCE, 1: F2FS_IPU_SSR, | ||
185 | 2: F2FS_IPU_UTIL, 3: F2FS_IPU_SSR_UTIL, | ||
186 | 4: F2FS_IPU_DISABLE. | ||
187 | |||
188 | min_ipu_util This parameter controls the threshold to trigger | ||
189 | in-place-updates. The number indicates percentage | ||
190 | of the filesystem utilization, and used by | ||
191 | F2FS_IPU_UTIL and F2FS_IPU_SSR_UTIL policies. | ||
192 | |||
193 | max_victim_search This parameter controls the number of trials to | ||
194 | find a victim segment when conducting SSR and | ||
195 | cleaning operations. The default value is 4096 | ||
196 | which covers 8GB block address range. | ||
197 | |||
174 | ================================================================================ | 198 | ================================================================================ |
175 | USAGE | 199 | USAGE |
176 | ================================================================================ | 200 | ================================================================================ |