Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
321 commits
Select commit Hold shift + click to select a range
094d4ab
f2fs: fix to return correct error number in f2fs_write_begin
chaseyu Dec 1, 2014
e0f4315
f2fs: cleanup redundant macro
Dec 1, 2014
897f14b
f2fs: more fast lookup for gc_inode list
Nov 28, 2014
446921e
f2fs: fix missing kmem_cache_free
Dec 4, 2014
6b7afe9
f2fs: use rw_semaphore for nat entry lock
Dec 4, 2014
d53de8a
f2fs: call radix_tree_preload before radix_tree_insert
Dec 4, 2014
39a2cae
f2fs: do retry operations with cond_resched
Dec 5, 2014
3dcde17
f2fs: count inline_xx in do_read_inode
Dec 5, 2014
db882b0
f2fs: set page private for inmemory pages for truncation
Dec 5, 2014
b9904a1
f2fs: release inmemory pages when the file was closed
Dec 5, 2014
629a6dd
f2fs: count the number of inmemory pages
Dec 6, 2014
161b78b
f2fs: check if inode state is dirty at fsync
Dec 8, 2014
b68a764
f2fs: cleanup path to need cp at fsync
Dec 8, 2014
bb30047
f2fs: use atomic for counting inode with inline_{dir,inode} flag
chaseyu Dec 8, 2014
31dd9e2
f2fs: fix to enable readahead for SSA/CP blocks
chaseyu Dec 8, 2014
b12a563
f2fs: introduce is_valid_blkaddr to cleanup codes in ra_meta_pages
chaseyu Dec 8, 2014
98fbe80
f2fs: avoid to ra unneeded blocks in recover flow
chaseyu Dec 8, 2014
0288493
f2fs: remove checking dirty_exceed
Dec 10, 2014
b29faf0
f2fs: fix wrong condition check to trigger f2fs_sync_fs
Dec 10, 2014
e469a1d
f2fs: don't need to call lock_op and lock_page for abort
Dec 10, 2014
2052cd4
- f2fs: change atomic and volatile write policies
Dec 9, 2014
ff823b8
f2fs: fix wrong data structure when create slab
Nov 21, 2014
e3d48c6
- f2fs: fix missing cp.reason is CP_SYNC
Dec 14, 2014
f62c44f
f2fs: fix small discards not to issue redundantly
Dec 12, 2014
8d6d27b
f2fs: remove unnecessary call to invalidate inmemory pages
Dec 13, 2014
e381794
f2fs: readahead contiguous current summary blocks in checkpoint
chaseyu Dec 9, 2014
36ec2cd
f2fs: merge two uchar variable in struct node_info to reduce memory cost
chaseyu Dec 18, 2014
a862a28
f2fs: use ra_meta_pages to simplify readahead code in restore_node_su…
chaseyu Dec 18, 2014
fc5e466
f2fs: use f2fs_io_info to clean up messy parameters during IO path
Dec 18, 2014
436d931
f2fs: avoid double lock for cp_rwsem
Dec 19, 2014
63e1525
f2fs: add block count by in-place-update in stat info
Dec 23, 2014
7ebfe72
f2fs: fix missing cold bit during recovery
Dec 24, 2014
edcd8ff
f2fs: cleanup trace event of f2fs_submit_page_{m,}bio with DECLARE_EV…
chaseyu Dec 23, 2014
ec02cf2
f2fs: cleanup parameters for trace_f2fs_submit_{read_,write_,page_,pa…
chaseyu Dec 24, 2014
92a43f3
f2fs: reuse inode_entry_slab in gc procedure for using slab more effe…
chaseyu Dec 29, 2014
039ae1b
f2fs: clean up to remove parameter
Dec 31, 2014
3ca3321
f2fs: avoid potential unnecessary codes
Dec 31, 2014
5d6ba37
f2fs: remove uncovered code path
Dec 31, 2014
14ded60
f2fs: align direct_io'ed data to section
Jan 6, 2015
921edeb
f2fs: get rid of kzalloc in __recover_inline_status
chaseyu Jan 6, 2015
03972dc
f2fs: fix wrong unlock_page call
Jan 7, 2015
ff58225
f2fs: free radix_tree_nodes used by nat_set entries
Jan 7, 2015
fba40ba
f2fs: add nat/sit entries into status
Jan 7, 2015
b181c55
f2fs: avoid infinite loop on cp_error
Jan 10, 2015
abc6af8
f2fs: fix wrong memory footprint statistics in debugfs
chaseyu Jan 10, 2015
ed0f0a6
f2fs: update memory footprint information
Jan 11, 2015
8c6bf90
f2fs: trigger correct checkpoint during umount
Jan 15, 2015
983a453
f2fs: do checkpoint when umount flag is not set
Jan 15, 2015
5a31b10
f2fs: fix to release count of meta page in ->invalidatepage
chaseyu Jan 19, 2015
042d91a
f2fs: leave comment for code readability
Jan 22, 2015
bdb4f22
f2fs: use f2fs_radix_tree_insert to clean codes
chaseyu Jan 23, 2015
dd01e60
f2fs: make truncate_inline_date static
chaseyu Jan 26, 2015
17fff6a
f2fs: clean up {in,de}create_sleep_time
chaseyu Jan 26, 2015
8c129f1
f2fs: merge flags in struct f2fs_sb_info
chaseyu Jan 28, 2015
e04ad92
f2fs: fix not to drop mount options when retrying fill_super
Jan 24, 2015
e529d8e
f2fs: avoid write_checkpoint if f2fs is mounted readonly
Jan 24, 2015
9d33d89
f2fs: split UMOUNT and FASTBOOT flags
Jan 29, 2015
6a38c6f
f2fs: should fail mount when trying to recover data on read-only dev
Jan 24, 2015
b1a738a
f2fs: keep PagePrivate during releasepage
Jan 30, 2015
702d495
f2fs: show the number of writeback pages in stat
Jan 31, 2015
0cb28be
f2fs: merge {invalidate,release}page for meta/node/data pages
chaseyu Feb 5, 2015
dca8589
f2fs: introduce a batched trim
Jan 27, 2015
adcabd7
f2fs: fix to use highmem for pages of newly created directory
chaseyu Feb 7, 2015
114636e
f2fs: avoid data offset overflow when lseeking huge file
chaseyu Feb 9, 2015
51ad388
f2fs: check node page contents all the time
Feb 7, 2015
3732a41
f2fs: call set_buffer_new for get_block
Feb 9, 2015
e7a99c6
f2fs: introduce macros to convert bytes and blocks in f2fs
Feb 9, 2015
43a8d98
f2fs: allocate data blocks in advance for f2fs_direct_IO
Feb 9, 2015
4a58da3
f2fs: fix sparse warnings
Feb 11, 2015
eb810c4
f2fs: avoid variable length array
Feb 11, 2015
c3ac02b
f2fs: fix accessing wrong indexed data blocks
Feb 11, 2015
73b333e
f2fs: use spinlock for segmap_lock instead of rwlock
chaseyu Feb 11, 2015
bbc9a2b
f2fs: remove unused inline_dentry_addr
chaseyu Feb 16, 2015
e32a593
f2fs: introduce f2fs_update_dentry to clean up duplicated codes
chaseyu Feb 16, 2015
feb0586
f2fs: use ->writepage in sync_meta_pages
chaseyu Feb 16, 2015
1ef78db
f2fs: fix incorrectly stat number of inline data inode
chaseyu Feb 16, 2015
1399380
f2fs: move ext_lock out of struct extent_info
chaseyu Feb 5, 2015
006e9d5
f2fs: simplfy a field name in struct f2fs_extent,extent_info
chaseyu Feb 5, 2015
d56212c
f2fs: introduce f2fs_map_bh to clean codes of check_extent_cache
chaseyu Feb 5, 2015
1b45b89
f2fs: introduce universal lookup/update interface for extent cache
chaseyu Feb 5, 2015
2cdc727
f2fs: introduce infra macro and data structure of rb-tree extent cache
chaseyu Feb 5, 2015
931bc2e
f2fs: add core functions for rb-tree extent cache
chaseyu Feb 5, 2015
cb5eba5
f2fs: introduce -o fastboot for reducing booting time only
Oct 31, 2014
1a1630b
f2fs: split UMOUNT and FASTBOOT flags
Jan 29, 2015
0d07e6d
f2fs: add a mount option for rb-tree extent cache
chaseyu Feb 5, 2015
c1946a1
f2fs: enable rb-tree extent cache
chaseyu Feb 5, 2015
967f118
f2fs: show extent tree, node stat info in debugfs
chaseyu Feb 5, 2015
362678b
f2fs: add trace for rb-tree extent cache ops
chaseyu Feb 5, 2015
5addfbc
f2fs: support fast lookup in extent cache
chaseyu Feb 5, 2015
7c21d3e
f2fs: switch to check FI_NO_EXTENT in f2fs_{lookup,update}_extent_cache
chaseyu Feb 5, 2015
f74e5bd
f2fs: use extent cache for dir
chaseyu Feb 5, 2015
60ed31d
f2fs: remove obsolete code
Feb 24, 2015
a6fb34a
f2fs: avoid wrong error during recovery
Feb 25, 2015
38e45cb
f2fs: add F2FS_IOC_GETVERSION support
chaseyu Jan 23, 2015
601b897
f2fs: support fs shutdown
Jan 9, 2015
7153ccf
f2fs: support fs shutdown
Jan 9, 2015
992bb85
f2fs: introduce macro __cp_payload
Feb 25, 2015
8f8aa79
f2fs: fix the number of orphan inode blocks
Feb 25, 2015
0018b40
f2fs: clear page's up-to-date if block was deallocated
Feb 26, 2015
8b97ce0
f2fs: check its block allocation to avoid producing wrong dirty pages
Feb 26, 2015
4715130
f2fs: fix block_ops trace point
Feb 27, 2015
7c51a08
f2fs: don't need to collect dirty sit entries and flush journal when …
Feb 27, 2015
f1aaed7
f2fs: fix max orphan inodes calculation
Feb 27, 2015
5a9ce56
f2fs: add cond_resched() to sync_dirty_dir_inodes()
Feb 27, 2015
170dee3
f2fs: fix to issue small discard in real-time mode discard
chaseyu Feb 28, 2015
3cdfc2b
f2fs: add stat info for moved blocks by background gc
Dec 22, 2014
c695ead
f2fs: avoid to trigger writepage during POR
Feb 27, 2015
71cba68
f2fs: clear append/update flags once fsync is done
Mar 2, 2015
538cac4
f2fs: report -ENOENT for unreached data indices
Mar 3, 2015
be6ceff
f2fs: relocate Kconfig from misc filesystems
Mar 4, 2015
2f1372b
f2fs: fix extent cache memory leak
Mar 6, 2015
2204e5b
f2fs: reduce searching region of segmap when set free section
Mar 6, 2015
481d551
f2fs: set the correct place of initializing *res_page
Mar 7, 2015
5497492
f2fs: remove unnecessary condition judgment
Mar 9, 2015
186942f
f2fs: cleanup statement about max orphan inodes calc
Mar 8, 2015
5406ff5
f2fs: fix unlocked nat set cache operation
Mar 9, 2015
eb10500
f2fs: fix to calculate max length of contiguous free slots correctly
chaseyu Mar 9, 2015
7655ddf
f2fs: fix to truncate inline data past EOF
chaseyu Mar 10, 2015
9af7906
f2fs: fix to check current blkaddr in __allocate_data_blocks
chaseyu Mar 12, 2015
440abaf
- f2fs: fix to cover sentry_lock for block allocation
Mar 11, 2015
3872f13
f2fs: set SBI_NEED_FSCK when encountering exception in recovery
chaseyu Mar 16, 2015
e5cf80d
f2fs: set buffer_new when new blocks are allocated
Mar 12, 2015
7c1d666
f2fs: enhance multi-threads performance
Mar 14, 2015
8b031de
f2fs: avoid wrong f2fs_bug_on when truncating inline_data
Mar 16, 2015
e57ba84
f2fs: avoid punch_hole overhead when releasing volatile data
Mar 18, 2015
81c8762
f2fs: add some tracepoints to debug volatile and atomic writes
Mar 18, 2015
b7f5937
f2fs: add f2fs_io_tracer support
Dec 18, 2014
02d540d
f2fs: add key functions for f2fs_io_tracer
Dec 18, 2014
928adea
f2fs: activate f2fs_trace_pid
Dec 18, 2014
0697853
f2fs: activate f2fs_trace_ios
Dec 18, 2014
984f0a3
f2fs: disable roll-forward when active_logs = 2
Nov 6, 2014
22e1b01
f2fs: implement -o dirsync
Nov 10, 2014
9738ecd
f2fs: support norecovery mount option
Jan 24, 2015
a3b3a50
f2fs: add spin_lock to cover radix operations in IO tracer
Jan 7, 2015
6eb9e43
f2fs: add f2fs_destroy_trace_ios to free radix tree
Jan 7, 2015
f8af36c
f2fs: fix sparse warnings
Feb 11, 2015
8617504
f2fs: remove unnecessary macro
Oct 31, 2014
4911ccc
f2fs: enable fast symlink by utilizing inline data
Mar 19, 2015
5acc6bc
f2fs: split set_data_blkaddr from f2fs_update_extent_cache
chaseyu Mar 19, 2015
0aafdbd
f2fs: introduce __{find,grab}_extent_tree
chaseyu Mar 19, 2015
61388e7
f2fs: initialize extent tree with on-disk extent info of inode
chaseyu Mar 19, 2015
6728120
f2fs: preserve extent info for extent cache
chaseyu Mar 19, 2015
6516907
f2fs: enable inline data by default
Mar 24, 2015
cfa4c1a
f2fs: preallocate fallocated blocks for direct IO
chaseyu Mar 23, 2015
9e35ce3
f2fs: avoid NULL pointer dereference in f2fs_xattr_advise_get
chaseyu Mar 23, 2015
6ccac6c
f2fs: persist system.advise into on-disk inode
chaseyu Mar 23, 2015
6654873
f2fs: limit b_size of mapped bh in f2fs_map_bh
chaseyu Mar 24, 2015
4fefc10
f2fs: fix sparse warnings
Mar 24, 2015
0b29908
f2fs: fix mismatching lock and unlock pages for roll-forward recovery
Mar 27, 2015
e805761
f2fs: add F2FS_INLINE_DOTS to recover missing dot dentries
Mar 30, 2015
8da32c7
f2fs: assign parent's i_mode for empty dir
Mar 30, 2015
769cfb7
f2fs: do not increase link count during recovery
Apr 1, 2015
4d5b83e
f2fs: do not recover wrong data index
Apr 2, 2015
b66dceb
Revert "f2fs: assign parent's i_mode for empty dir"
Apr 8, 2015
cc500ec
Revert "f2fs: add F2FS_INLINE_DOTS to recover missing dot dentries"
Apr 8, 2015
1ec6357
f2fs: add F2FS_INLINE_DOTS to recover missing dot dentries
Mar 30, 2015
af50d97
f2fs: assign parent's i_mode for empty dir
Mar 30, 2015
bede067
- f2fs: flush symlink path to avoid broken symlink after POR
Apr 15, 2015
bfa80ea
- f2fs: avoid abnormal behavior on broken symlink
Apr 15, 2015
f8c2032
f2fs: change 0 to false for bool type
TaeheeYoo Apr 13, 2015
3349983
f2fs: pass checkpoint reason on roll-forward recovery
Apr 10, 2015
e7b3fb7
f2fs: drop the volatile_write flag only
Jun 9, 2015
962f93e
Revert "f2fs: enhance multi-threads performance"
Apr 21, 2015
17b7deb
f2fs: use is_valid_blkaddr to verify blkaddr for readability
chaseyu Apr 18, 2015
bcea092
f2fs: add offset check routine before punch_hole() in f2fs_fallocate()
TaeheeYoo Apr 21, 2015
87c0b3a
f2fs: make has_fsynced_inode static
chaseyu Apr 18, 2015
f08d65b
f2fs: add missing version info in superblock
Apr 20, 2015
8f202ea
f2fs: move existing definitions into f2fs.h
Apr 20, 2015
f0c3e65
f2fs: add feature facility in superblock
Apr 13, 2015
a175f43
f2fs: add f2fs_map_blocks
Apr 7, 2015
9c9af69
f2fs: introduce f2fs_commit_super
Apr 21, 2015
68d008d
f2fs: expose f2fs_mpage_readpages
Apr 9, 2015
0dc9dcf
f2fs: clean up f2fs_lookup
Apr 22, 2015
16b0b98
f2fs: add f2fs_may_inline_{data, dentry}
Apr 23, 2015
24e4084
f2fs: add sbi and page pointer in f2fs_io_info
Apr 23, 2015
3b07868
f2fs: move get_page for gc victims
Apr 24, 2015
86effce
f2fs: introduce dot and dotdot name check
Apr 26, 2015
dfe5898
f2fs: fix race on allocating and deallocating a dentry block
Apr 29, 2015
bd03184
f2fs: add need_dentry_mark
Apr 30, 2015
b45dd3f
f2fs: fix counting the number of inline_data inodes
May 1, 2015
b73c8b6
f2fs: split find_data_page according to specific purposes
May 1, 2015
f870bc9
f2fs: revmove spin_lock for write_orphan_inodes
May 1, 2015
5656618
f2fs: introduce discard_map for f2fs_trim_fs
May 1, 2015
765eba8
f2fs: issue discard with finally produced len and minlen
May 1, 2015
0601c22
f2fs: remove unneeded f2fs_make_empty declaration
chaseyu Apr 30, 2015
19e067b
f2fs: do not re-lookup nat cache with same nid
chaseyu Apr 30, 2015
df7e7df
f2fs: introduce f2fs_replace_block() for reuse
chaseyu May 6, 2015
1f37a1a
f2fs: support FALLOC_FL_COLLAPSE_RANGE
chaseyu May 6, 2015
b19e1df
f2fs: support FALLOC_FL_ZERO_RANGE
chaseyu May 6, 2015
9d25d53
f2fs: avoid value overflow in showing current status
May 8, 2015
63236e8
f2fs: report unwritten area in f2fs_fiemap
May 9, 2015
325c889
f2fs crypto: declare some definitions for f2fs encryption feature
Apr 20, 2015
b123ef3
f2fs crypto: add f2fs encryption Kconfig
Apr 10, 2015
aad96b0
f2fs crypto: add encryption xattr support
Apr 10, 2015
63ab5a7
f2fs crypto: add encryption policy and password salt support
Apr 20, 2015
aab3150
f2fs crypto: add f2fs encryption facilities
Apr 21, 2015
35924ff
f2fs crypto: add encryption key management facilities
Apr 21, 2015
a911239
f2fs crypto: filename encryption facilities
Apr 26, 2015
efa5d31
f2fs crypto: activate encryption support for fs APIs
Apr 22, 2015
fbb2f24
f2fs crypto: add encryption support in read/write paths
Apr 23, 2015
2fc42c7
f2fs crypto: add filename encryption for f2fs_add_link
Apr 27, 2015
38e62e3
f2fs crypto: add filename encryption for f2fs_readdir
Apr 27, 2015
c6895da
f2fs crypto: add filename encryption for f2fs_lookup
Apr 28, 2015
3ae44c9
f2fs crypto: add filename encryption for roll-forward recovery
Apr 30, 2015
f705b2c
f2fs crypto: add symlink encryption
Apr 29, 2015
8ec7287
f2fs crypto: fix missing key when reading a page
May 6, 2015
130e1d0
f2fs crypto: remove checking key context during lookup
May 7, 2015
afa6718
f2fs: add default mount options to remount
May 7, 2015
2b7a97c
f2fs: do not issue next dnode discard redundantly
May 12, 2015
260b74b
f2fs: add compat_ioctl to provide backward compatability
May 12, 2015
cfbc751
f2fs: avoid buggy functions
May 18, 2015
8131c80
f2fs: fix building on 32-bit architectures
arndb May 13, 2015
b58f105
f2fs: cleanup a confusing indent
May 14, 2015
00a4eda
f2fs: truncate data blocks for orphan inode
May 13, 2015
ba79a06
f2fs crypto: use slab caches
May 12, 2015
8c346e3
f2fs crypto: get rid of ci_mode from struct f2fs_crypt_info
May 12, 2015
a1894a9
f2fs crypto: shrink size of the f2fs_crypto_ctx structure
May 12, 2015
deb64ae
f2fs crypto: fix to release buffer for fname crypto
chaseyu May 13, 2015
2c73184
f2fs crypto: fix incorrect release for crypto ctx
chaseyu May 15, 2015
b24fdfa
f2fs crypto: split f2fs_crypto_init/exit with two parts
May 15, 2015
191808c
f2fs crypto: zero next free dnode block
chaseyu May 18, 2015
258fb7b
f2fs: introduce update_meta_page
chaseyu May 19, 2015
215a269
f2fs: recovering broken superblock during mount
May 21, 2015
b063f1d
f2fs crypto: use per-inode tfm structure
May 20, 2015
ea2177c
f2fs: avoid duplicated code by reusing f2fs_read_end_io
chaseyu May 25, 2015
bd0d61a
f2fs crypto: allow setting encryption policy once
chaseyu May 25, 2015
01be9b9
f2fs crypto: do not set encryption policy for non-directory by ioctl
chaseyu May 27, 2015
4653693
f2fs crypto: avoid f2fs_inherit_context for symlink
May 28, 2015
e8ae32c
f2fs crypto: clean up error handling in f2fs_fname_setup_filename
May 29, 2015
7758ba0
f2fs: fix a deadlock for summary page lock vs. sentry_lock
May 29, 2015
1dd4092
f2fs crypto: remove alloc_page for Kinzie_page
Jun 1, 2015
793dfd5
f2fs: disable the discard option when device doesn't support
parheliamm May 30, 2015
a6f6f7e
f2fs: hide common code in f2fs_replace_block
chaseyu May 28, 2015
e8a5fb1
f2fs: support FALLOC_FL_INSERT_RANGE
chaseyu May 28, 2015
670bbea
f2fs: fix to return exact trimmed size
Jun 2, 2015
f9597e2
f2fs crypto: fix to handle errors likewise ext4
Jun 11, 2015
875fc5e
f2fs crypto: add alloc_Kinzie_page
Jun 11, 2015
32a795a
f2fs: do not trim preallocated blocks when truncating after i_size
chaseyu Jun 5, 2015
ab84afd
f2fs: setting discard option in parse_options()
chaseyu Jun 8, 2015
7b8c767
f2fs: skip committing valid superblock
chaseyu Jun 8, 2015
9361ba2
- f2fs: introduce a periodic checkpoint flow
Oct 5, 2015
2ddc1de
- f2fs: fix leakage of inmemory atomic pages
Oct 22, 2015
cb52d51
f2fs: set f2fs garbage collection thread as freezable
Mar 24, 2016
0e15efc
f2fs: Add a ioctl to disable garbage collection
May 13, 2016
e7fb321
f2fs: add a max block check for get_data_block_bmap
Jun 23, 2016
6728865
f2fs: introduce max_file_blocks in sbi
chaseyu Jun 23, 2016
1a144c6
f2fs: support emulated case-insensitive sd media device
Jun 24, 2016
63f3c39
f2fs: fix wrong error hanlder in f2fs_follow_link
Apr 22, 2015
a984982
f2fs: support case-insensitive from xattr
Jul 1, 2016
d2fe08f
f2fs: make case-insensitive feature configurable
Aug 25, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions Documentation/ABI/testing/sysfs-fs-f2fs
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
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.

What: /sys/fs/f2fs/<disk>/gc_idle
Date: July 2013
Contact: "Namjae Jeon" <namjae.jeon@samsung.com>
Description:
Controls the victim selection policy for garbage collection.

What: /sys/fs/f2fs/<disk>/reclaim_segments
Date: October 2013
Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
Description:
Controls the issue rate of segment discard commands.

What: /sys/fs/f2fs/<disk>/ipu_policy
Date: November 2013
Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
Description:
Controls the in-place-update policy.

What: /sys/fs/f2fs/<disk>/min_ipu_util
Date: November 2013
Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
Description:
Controls the FS utilization condition for the in-place-update
policies.

What: /sys/fs/f2fs/<disk>/min_fsync_blocks
Date: September 2014
Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
Description:
Controls the dirty page count condition for the in-place-update
policies.

What: /sys/fs/f2fs/<disk>/max_small_discards
Date: November 2013
Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
Description:
Controls the issue rate of small discard commands.

What: /sys/fs/f2fs/<disk>/max_victim_search
Date: January 2014
Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
Description:
Controls the number of trials to find a victim segment.

What: /sys/fs/f2fs/<disk>/dir_level
Date: March 2014
Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
Description:
Controls the directory level for large directory.

What: /sys/fs/f2fs/<disk>/ram_thresh
Date: March 2014
Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
Description:
Controls the memory footprint used by f2fs.

What: /sys/fs/f2fs/<disk>/trim_sections
Date: February 2015
Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
Description:
Controls the trimming rate in batch mode.

What: /sys/fs/f2fs/<disk>/cp_interval
Date: October 2015
Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
Description:
Controls the checkpoint timing.
19 changes: 19 additions & 0 deletions Documentation/filesystems/f2fs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ background_gc=%s Turn on/off cleaning operations, namely garbage
Default value for this option is on. So garbage
collection is on by default.
disable_roll_forward Disable the roll-forward recovery routine
norecovery Disable the roll-forward recovery routine, mounted read-
only (i.e., -o ro,disable_roll_forward)
discard Issue discard/TRIM commands when a segment is cleaned.
no_heap Disable heap-style segment allocation which finds free
segments for data from the beginning of main area, while
Expand All @@ -122,6 +124,10 @@ disable_ext_identify Disable the extension list configured by mkfs, so f2fs
inline_xattr Enable the inline xattrs feature.
inline_data Enable the inline data feature: New created small(<~3.4k)
files can be written into inode block.
inline_dentry Enable the inline dir feature: data in new created
directory entries can be written into inode block. The
space of inode block which is used to store inline
dentries is limited to ~3.4k.
flush_merge Merge concurrent cache_flush commands as much as possible
to eliminate redundant command issues. If the underlying
device handles the cache_flush command relatively slowly,
Expand All @@ -131,6 +137,15 @@ nobarrier This option can be used if underlying storage guarantees
If this option is set, no cache_flush commands are issued
but f2fs still guarantees the write ordering of all the
data writes.
fastboot This option is used when a system wants to reduce mount
time as much as possible, even though normal performance
can be sacrificed.
extent_cache Enable an extent cache based on rb-tree, it can cache
as many as extent which map between contiguous logical
address and physical address per inode, resulting in
increasing the cache hit ratio.
noinline_data Disable the inline data feature, inline data feature is
enabled by default.

================================================================================
DEBUGFS ENTRIES
Expand Down Expand Up @@ -190,6 +205,10 @@ Files in /sys/fs/f2fs/<devname>
checkpoint is triggered, and issued during the
checkpoint. By default, it is disabled with 0.

trim_sections This parameter controls the number of sections
to be trimmed out in batch mode when FITRIM
conducts. 32 sections is set by default.

ipu_policy This parameter controls the policy of in-place
updates in f2fs. There are five policies:
0x01: F2FS_IPU_FORCE, 0x02: F2FS_IPU_SSR,
Expand Down
Loading