aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-01-14 00:01:44 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2016-01-14 00:01:44 -0500
commitf9a03ae123c92c1f45cd2ca88d0f6edd787be78c (patch)
treec15c8b9b5732eb36b591bf570de63f3c30d252e1 /Documentation/filesystems
parent1289ace5b4f70f1e68ce785735b82c7e483de863 (diff)
parent447135a86659c646017b8e707c1243c186bf2dff (diff)
Merge tag 'for-f2fs-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs
Pull f2fs updates from Jaegeuk Kim: "This series adds two ioctls to control cached data and fragmented files. Most of the rest fixes missing error cases and bugs that we have not covered so far. Summary: Enhancements: - support an ioctl to execute online file defragmentation - support an ioctl to flush cached data - speed up shrinking of extent_cache entries - handle broken superblock - refector dirty inode management infra - revisit f2fs_map_blocks to handle more cases - reduce global lock coverage - add detecting user's idle time Major bug fixes: - fix data race condition on cached nat entries - fix error cases of volatile and atomic writes" * tag 'for-f2fs-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (87 commits) f2fs: should unset atomic flag after successful commit f2fs: fix wrong memory condition check f2fs: monitor the number of background checkpoint f2fs: detect idle time depending on user behavior f2fs: introduce time and interval facility f2fs: skip releasing nodes in chindless extent tree f2fs: use atomic type for node count in extent tree f2fs: recognize encrypted data in f2fs_fiemap f2fs: clean up f2fs_balance_fs f2fs: remove redundant calls f2fs: avoid unnecessary f2fs_balance_fs calls f2fs: check the page status filled from disk f2fs: introduce __get_node_page to reuse common code f2fs: check node id earily when readaheading node page f2fs: read isize while holding i_mutex in fiemap Revert "f2fs: check the node block address of newly allocated nid" f2fs: cover more area with nat_tree_lock f2fs: introduce max_file_blocks in sbi f2fs crypto: check CONFIG_F2FS_FS_XATTR for encrypted symlink f2fs: introduce zombie list for fast shrinking extent trees ...
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r--Documentation/filesystems/f2fs.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesystems/f2fs.txt
index b102b436563e..e1c9f0849da6 100644
--- a/Documentation/filesystems/f2fs.txt
+++ b/Documentation/filesystems/f2fs.txt
@@ -102,7 +102,7 @@ background_gc=%s Turn on/off cleaning operations, namely garbage
102 collection, triggered in background when I/O subsystem is 102 collection, triggered in background when I/O subsystem is
103 idle. If background_gc=on, it will turn on the garbage 103 idle. If background_gc=on, it will turn on the garbage
104 collection and if background_gc=off, garbage collection 104 collection and if background_gc=off, garbage collection
105 will be truned off. If background_gc=sync, it will turn 105 will be turned off. If background_gc=sync, it will turn
106 on synchronous garbage collection running in background. 106 on synchronous garbage collection running in background.
107 Default value for this option is on. So garbage 107 Default value for this option is on. So garbage
108 collection is on by default. 108 collection is on by default.
@@ -145,10 +145,12 @@ extent_cache Enable an extent cache based on rb-tree, it can cache
145 as many as extent which map between contiguous logical 145 as many as extent which map between contiguous logical
146 address and physical address per inode, resulting in 146 address and physical address per inode, resulting in
147 increasing the cache hit ratio. Set by default. 147 increasing the cache hit ratio. Set by default.
148noextent_cache Diable an extent cache based on rb-tree explicitly, see 148noextent_cache Disable an extent cache based on rb-tree explicitly, see
149 the above extent_cache mount option. 149 the above extent_cache mount option.
150noinline_data Disable the inline data feature, inline data feature is 150noinline_data Disable the inline data feature, inline data feature is
151 enabled by default. 151 enabled by default.
152data_flush Enable data flushing before checkpoint in order to
153 persist data of regular and symlink.
152 154
153================================================================================ 155================================================================================
154DEBUGFS ENTRIES 156DEBUGFS ENTRIES
@@ -192,7 +194,7 @@ Files in /sys/fs/f2fs/<devname>
192 policy for garbage collection. Setting gc_idle = 0 194 policy for garbage collection. Setting gc_idle = 0
193 (default) will disable this option. Setting 195 (default) will disable this option. Setting
194 gc_idle = 1 will select the Cost Benefit approach 196 gc_idle = 1 will select the Cost Benefit approach
195 & setting gc_idle = 2 will select the greedy aproach. 197 & setting gc_idle = 2 will select the greedy approach.
196 198
197 reclaim_segments This parameter controls the number of prefree 199 reclaim_segments This parameter controls the number of prefree
198 segments to be reclaimed. If the number of prefree 200 segments to be reclaimed. If the number of prefree
@@ -298,7 +300,7 @@ The dump.f2fs shows the information of specific inode and dumps SSA and SIT to
298file. Each file is dump_ssa and dump_sit. 300file. Each file is dump_ssa and dump_sit.
299 301
300The dump.f2fs is used to debug on-disk data structures of the f2fs filesystem. 302The dump.f2fs is used to debug on-disk data structures of the f2fs filesystem.
301It shows on-disk inode information reconized by a given inode number, and is 303It shows on-disk inode information recognized by a given inode number, and is
302able to dump all the SSA and SIT entries into predefined files, ./dump_ssa and 304able to dump all the SSA and SIT entries into predefined files, ./dump_ssa and
303./dump_sit respectively. 305./dump_sit respectively.
304 306