aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-10-08 12:53:15 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-10-08 12:53:15 -0400
commitda01e61428aa2b5c424fddc11178498462d8c77f (patch)
treef22a693c3292658c665b77df5990b4caceed846d /Documentation/filesystems
parent6dea0737bc5e160efc77f4c39d393b94fd2746dc (diff)
parent02a1335f25a386db9afc68f8315162f862aac93f (diff)
Merge tag 'f2fs-for-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs
Pull f2fs updates from Jaegeuk Kim: "This patch-set introduces a couple of new features such as large sector size, FITRIM, and atomic/volatile writes. Several patches enhance power-off recovery and checkpoint routines. The fsck.f2fs starts to support fixing corrupted partitions with recovery hints provided by this patch-set. Summary: - retain some recovery information for fsck.f2fs - enhance checkpoint speed - enhance flush command management - bug fix for lseek - tune in-place-update policies - enhance roll-forward speed - revisit all the roll-forward and fsync rules - support larget sector size - support FITRIM - support atomic and volatile writes And several clean-ups and bug fixes are included" * tag 'f2fs-for-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (42 commits) f2fs: support volatile operations for transient data f2fs: support atomic writes f2fs: remove unused return value f2fs: clean up f2fs_ioctl functions f2fs: potential shift wrapping buf in f2fs_trim_fs() f2fs: call f2fs_unlock_op after error was handled f2fs: check the use of macros on block counts and addresses f2fs: refactor flush_nat_entries to remove costly reorganizing ops f2fs: introduce FITRIM in f2fs_ioctl f2fs: introduce cp_control structure f2fs: use more free segments until SSR is activated f2fs: change the ipu_policy option to enable combinations f2fs: fix to search whole dirty segmap when get_victim f2fs: fix to clean previous mount option when remount_fs f2fs: skip punching hole in special condition f2fs: support large sector size f2fs: fix to truncate blocks past EOF in ->setattr f2fs: update i_size when __allocate_data_block f2fs: use MAX_BIO_BLOCKS(sbi) f2fs: remove redundant operation during roll-forward recovery ...
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r--Documentation/filesystems/f2fs.txt13
1 files changed, 10 insertions, 3 deletions
diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesystems/f2fs.txt
index a2046a7d0a9d..2cca5a25ef89 100644
--- a/Documentation/filesystems/f2fs.txt
+++ b/Documentation/filesystems/f2fs.txt
@@ -192,15 +192,22 @@ Files in /sys/fs/f2fs/<devname>
192 192
193 ipu_policy This parameter controls the policy of in-place 193 ipu_policy This parameter controls the policy of in-place
194 updates in f2fs. There are five policies: 194 updates in f2fs. There are five policies:
195 0: F2FS_IPU_FORCE, 1: F2FS_IPU_SSR, 195 0x01: F2FS_IPU_FORCE, 0x02: F2FS_IPU_SSR,
196 2: F2FS_IPU_UTIL, 3: F2FS_IPU_SSR_UTIL, 196 0x04: F2FS_IPU_UTIL, 0x08: F2FS_IPU_SSR_UTIL,
197 4: F2FS_IPU_DISABLE. 197 0x10: F2FS_IPU_FSYNC.
198 198
199 min_ipu_util This parameter controls the threshold to trigger 199 min_ipu_util This parameter controls the threshold to trigger
200 in-place-updates. The number indicates percentage 200 in-place-updates. The number indicates percentage
201 of the filesystem utilization, and used by 201 of the filesystem utilization, and used by
202 F2FS_IPU_UTIL and F2FS_IPU_SSR_UTIL policies. 202 F2FS_IPU_UTIL and F2FS_IPU_SSR_UTIL policies.
203 203
204 min_fsync_blocks This parameter controls the threshold to trigger
205 in-place-updates when F2FS_IPU_FSYNC mode is set.
206 The number indicates the number of dirty pages
207 when fsync needs to flush on its call path. If
208 the number is less than this value, it triggers
209 in-place-updates.
210
204 max_victim_search This parameter controls the number of trials to 211 max_victim_search This parameter controls the number of trials to
205 find a victim segment when conducting SSR and 212 find a victim segment when conducting SSR and
206 cleaning operations. The default value is 4096 213 cleaning operations. The default value is 4096