Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge from grarak #1

Merged
merged 189 commits into from
Sep 30, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
189 commits
Select commit Hold shift + click to select a range
2dba116
msm: mdss: savoca's KCAL pp control adapted for Hima
imoseyon Feb 19, 2015
17b3f2f
msm: mdss: Replace PGC implementation with PCC for KCAL
savoca Feb 19, 2015
3b1a5fb
msm: mdss: Add pa_v2 support to KCAL
savoca Feb 20, 2015
15ff65d
Drivers/video: KCAL Fixup
holyangel Apr 8, 2015
b532007
video: mdss: Color temperature interface using PCC
Feb 9, 2015
77fe0c2
Enable kcal
Grarak Sep 13, 2015
b6385cc
Disable modules
Grarak Sep 13, 2015
3f6ff66
msm: qdsp6v2: Allow 320K AAC encoding
hyperb1iss Oct 14, 2014
b893f55
tracing/syscalls: Ignore numbers outside NR_syscalls' range
vitkyrka Oct 29, 2014
021529c
KEYS: close race between key lookup and freeing
sashalevin Dec 29, 2014
7913b07
ipv4: try to cache dst_entries which would cause a redirect
strssndktn Jan 23, 2015
7dd7806
eCryptfs: Remove buggy and unnecessary write in file name decode routine
mhalcrow-google Nov 26, 2014
8a0e07f
netfilter: conntrack: disable generic tracking for known protocols
Sep 26, 2014
85290e0
mnt: Only change user settable mount flags in remount
ebiederm Jul 28, 2014
c3f8b08
mnt: Prevent pivot_root from creating a loop in the mount tree
ebiederm Oct 8, 2014
8e4670a
vfs: read file_handle only once in handle_to_path
sashalevin Jan 29, 2015
097e74f
mm: Fix NULL pointer dereference in madvise(MADV_WILLNEED) support
kiryl Dec 20, 2013
6b488e1
ipv6: Don't reduce hop limit for an interface
Spindel Mar 25, 2015
49cb350
net: llc: use correct size for sysctl timeout entries
sashalevin Jan 24, 2015
29b692a
net: ipv6: Add a sysctl to make optimistic addresses useful candidates
lcolitti Nov 20, 2014
5918bc7
msm: mdss: Update the KCAL driver
savoca Jun 1, 2015
1b73def
video: mdss: Report PCC values from pp registers
savoca Apr 29, 2015
e7edf38
stereo call recording support
May 18, 2014
e8dde0c
udp: fix behavior of wrong checksums
May 30, 2015
6966241
fs: take i_mutex during prepare_binprm for set[ug]id executables
thejh Apr 19, 2015
e803693
block: fiops ioscheduler core
Oct 21, 2013
9576c5a
block: fiops read/write request scale
Dec 16, 2012
5e0d569
block: fiops sync/async scale
Dec 16, 2012
9e5e1d4
block: fiops add ioprio support
Dec 16, 2012
83e2898
block: fiops preserve vios key for deep queue depth workload
Dec 16, 2012
d09f1f4
block: fiops bias sync workload
Dec 16, 2012
fb72f47
block: fiops add some trace information
Dec 16, 2012
87d4e52
FIOPS: forward port for use on 3.10 Linux
faux123 Nov 23, 2014
1be2e84
Enable fiops
Grarak Sep 13, 2015
3993447
Merge tag 'for-f2fs-3.11' of git://git.kernel.org/pub/scm/linux/kerne…
torvalds Jul 2, 2013
6942588
f2fs: remove checking dirty_exceed
Dec 10, 2014
0302292
f2fs: fix wrong condition check to trigger f2fs_sync_fs
Dec 10, 2014
64f24d3
f2fs: don't need to call lock_op and lock_page for abort
Dec 10, 2014
83e13d2
f2fs: change atomic and volatile write policies
Dec 9, 2014
e77e9ac
f2fs: fix small discards not to issue redundantly
Dec 12, 2014
124be7c
f2fs: remove unnecessary call to invalidate inmemory pages
Dec 13, 2014
f252dc0
f2fs: use missing the use of f2fs_kunmap_page
Dec 13, 2014
e5b6eed
f2fs: readahead contiguous current summary blocks in checkpoint
chaseyu Dec 9, 2014
de40e62
f2fs: merge two uchar variable in struct node_info to reduce memory cost
chaseyu Dec 18, 2014
bd7cb62
f2fs: use ra_meta_pages to simplify readahead code in restore_node_su…
chaseyu Dec 18, 2014
ddf87aa
f2fs: use f2fs_io_info to clean up messy parameters during IO path
Dec 18, 2014
edba9c7
f2fs: add f2fs_io_tracer support
Dec 18, 2014
c6cd560
f2fs: add key functions for f2fs_io_tracer
Dec 18, 2014
771c2f6
f2fs: activate f2fs_trace_pid
Dec 18, 2014
db730d1
f2fs: activate f2fs_trace_ios
Dec 18, 2014
6c32035
f2fs: avoid double lock for cp_rwsem
Dec 19, 2014
597393c
f2fs: add block count by in-place-update in stat info
Dec 23, 2014
4bc40f7
f2fs: fix missing cold bit during recovery
Dec 24, 2014
77f4016
f2fs: cleanup trace event of f2fs_submit_page_{m,}bio with DECLARE_EV…
chaseyu Dec 23, 2014
bfc458f
f2fs: cleanup parameters for trace_f2fs_submit_{read_,write_,page_,pa…
chaseyu Dec 24, 2014
8faea36
f2fs: reuse inode_entry_slab in gc procedure for using slab more effe…
chaseyu Dec 29, 2014
82deb23
f2fs: clean up to remove parameter
Dec 31, 2014
7655a77
f2fs: avoid potential unnecessary codes
Dec 31, 2014
1bf9f0e
f2fs: remove uncovered code path
Dec 31, 2014
7fabafb
f2fs: align direct_io'ed data to section
Jan 6, 2015
14f27d0
f2fs: get rid of kzalloc in __recover_inline_status
chaseyu Jan 6, 2015
636c435
f2fs: fix wrong unlock_page call
Jan 7, 2015
974498b
f2fs: free radix_tree_nodes used by nat_set entries
Jan 7, 2015
e1c3bcd
f2fs: add nat/sit entries into status
Jan 7, 2015
507ae00
f2fs: add spin_lock to cover radix operations in IO tracer
Jan 7, 2015
feae001
f2fs: add f2fs_destroy_trace_ios to free radix tree
Jan 7, 2015
01fe87b
f2fs: pids_lock can be static
Jan 8, 2015
0fc4123
xfs: introduce a generic shutdown ioctl
Jan 9, 2015
9bb4745
f2fs: support fs shutdown
Jan 9, 2015
effe040
f2fs: avoid infinite loop on cp_error
Jan 10, 2015
8f48fb2
f2fs: fix wrong memory footprint statistics in debugfs
chaseyu Jan 10, 2015
2c02093
f2fs: update memory footprint information
Jan 11, 2015
cd3ad95
f2fs: trigger correct checkpoint during umount
Jan 15, 2015
e069fae
f2fs: do checkpoint when umount flag is not set
Jan 15, 2015
71ac7ed
f2fs: fix to release count of meta page in ->invalidatepage
chaseyu Jan 19, 2015
e24472a
f2fs: leave comment for code readability
Jan 22, 2015
e00332c
f2fs: add F2FS_IOC_GETVERSION support
chaseyu Jan 23, 2015
ef2ad47
f2fs: use f2fs_radix_tree_insert to clean codes
chaseyu Jan 23, 2015
f551e58
f2fs: fix a bug of inheriting default ACL from parent
kinglongmee Jan 24, 2015
25c879d
f2fs: make truncate_inline_date static
chaseyu Jan 26, 2015
f33fb65
f2fs: clean up {in,de}create_sleep_time
chaseyu Jan 26, 2015
1d3bf7c
f2fs: merge flags in struct f2fs_sb_info
chaseyu Jan 28, 2015
46fe0fc
f2fs: fix not to drop mount options when retrying fill_super
Jan 24, 2015
9d3f207
f2fs: support norecovery mount option
Jan 24, 2015
f2e76fa
f2fs: avoid write_checkpoint if f2fs is mounted readonly
Jan 24, 2015
f50f772
f2fs: split UMOUNT and FASTBOOT flags
Jan 29, 2015
1576335
f2fs: should fail mount when trying to recover data on read-only dev
Jan 24, 2015
fca2a5c
f2fs: keep PagePrivate during releasepage
Jan 30, 2015
8088366
f2fs: show the number of writeback pages in stat
Jan 31, 2015
6d9c5f0
f2fs: merge {invalidate,release}page for meta/node/data pages
chaseyu Feb 5, 2015
be0d15a
f2fs: introduce a batched trim
Jan 27, 2015
c53ccdd
f2fs: fix to use highmem for pages of newly created directory
chaseyu Feb 7, 2015
8a36143
f2fs: avoid data offset overflow when lseeking huge file
chaseyu Feb 9, 2015
efc9928
f2fs: check node page contents all the time
Feb 7, 2015
fa57016
f2fs: call set_buffer_new for get_block
Feb 9, 2015
6564567
f2fs: introduce macros to convert bytes and blocks in f2fs
Feb 9, 2015
e26aa80
f2fs: allocate data blocks in advance for f2fs_direct_IO
Feb 9, 2015
8cfdf19
f2fs: fix sparse warnings
Feb 11, 2015
c83b280
f2fs: avoid variable length array
Feb 11, 2015
0cf4b6d
f2fs: fix accessing wrong indexed data blocks
Feb 11, 2015
cd68ee1
f2fs: use spinlock for segmap_lock instead of rwlock
chaseyu Feb 11, 2015
7eefcef
f2fs: remove unused inline_dentry_addr
chaseyu Feb 16, 2015
6256e99
f2fs: introduce f2fs_update_dentry to clean up duplicated codes
chaseyu Feb 16, 2015
2a8e581
f2fs: use ->writepage in sync_meta_pages
chaseyu Feb 16, 2015
69372f4
f2fs: fix incorrectly stat number of inline data inode
chaseyu Feb 16, 2015
08123ed
f2fs: move ext_lock out of struct extent_info
chaseyu Feb 5, 2015
e7aceb6
f2fs: simplfy a field name in struct f2fs_extent,extent_info
chaseyu Feb 5, 2015
eace608
f2fs: introduce f2fs_map_bh to clean codes of check_extent_cache
chaseyu Feb 5, 2015
560340f
f2fs: introduce universal lookup/update interface for extent cache
chaseyu Feb 5, 2015
53237b4
f2fs: introduce infra macro and data structure of rb-tree extent cache
chaseyu Feb 5, 2015
0d35327
f2fs: add core functions for rb-tree extent cache
chaseyu Feb 5, 2015
0c5469d
f2fs: add a mount option for rb-tree extent cache
chaseyu Feb 5, 2015
50b9959
f2fs: enable rb-tree extent cache
chaseyu Feb 5, 2015
dfea142
f2fs: show extent tree, node stat info in debugfs
chaseyu Feb 5, 2015
0f52489
f2fs: add trace for rb-tree extent cache ops
chaseyu Feb 5, 2015
5105cff
f2fs: support fast lookup in extent cache
chaseyu Feb 5, 2015
180d038
f2fs: switch to check FI_NO_EXTENT in f2fs_{lookup,update}_extent_cache
chaseyu Feb 5, 2015
f68bf38
f2fs: use extent cache for dir
chaseyu Feb 5, 2015
4de0b01
f2fs: remove obsolete code
Feb 24, 2015
a2094e0
f2fs: avoid wrong error during recovery
Feb 25, 2015
b2f378d
f2fs: introduce macro __cp_payload
Feb 25, 2015
477b92d
f2fs: fix the number of orphan inode blocks
Feb 25, 2015
a0b60c4
f2fs: clear page's up-to-date if block was deallocated
Feb 26, 2015
2611ee4
f2fs: check its block allocation to avoid producing wrong dirty pages
Feb 26, 2015
2f4acee
f2fs: fix block_ops trace point
Feb 27, 2015
c8c96bb
f2fs: don't need to collect dirty sit entries and flush journal when …
Feb 27, 2015
dc9d5fe
f2fs: fix max orphan inodes calculation
Feb 27, 2015
45d66bf
f2fs: add cond_resched() to sync_dirty_dir_inodes()
Feb 27, 2015
f4ffb12
f2fs: fix to issue small discard in real-time mode discard
chaseyu Feb 28, 2015
0344286
f2fs: add stat info for moved blocks by background gc
Dec 22, 2014
852a80f
f2fs: avoid to trigger writepage during POR
Feb 27, 2015
eb6b43a
f2fs: clear append/update flags once fsync is done
Mar 2, 2015
999b913
f2fs: report -ENOENT for unreached data indices
Mar 3, 2015
a47c392
f2fs: relocate Kconfig from misc filesystems
Mar 4, 2015
b60be1a
f2fs: fix extent cache memory leak
Mar 6, 2015
13d502c
f2fs: reduce searching region of segmap when set free section
Mar 6, 2015
db6682f
f2fs: set the correct place of initializing *res_page
Mar 7, 2015
759b6a3
f2fs: remove unnecessary condition judgment
Mar 9, 2015
34bf8cc
f2fs: cleanup statement about max orphan inodes calc
Mar 8, 2015
c783ebe
f2fs: fix unlocked nat set cache operation
Mar 9, 2015
8a4aafd
f2fs: fix to calculate max length of contiguous free slots correctly
chaseyu Mar 9, 2015
1609d7f
f2fs: fix reference leaks in f2fs_acl_create
chaseyu Mar 9, 2015
5924234
f2fs: fix to truncate inline data past EOF
chaseyu Mar 10, 2015
6d70f48
f2fs: fix to check current blkaddr in __allocate_data_blocks
chaseyu Mar 12, 2015
013571a
f2fs: fix to cover sentry_lock for block allocation
Mar 11, 2015
9c0dd48
f2fs: set SBI_NEED_FSCK when encountering exception in recovery
chaseyu Mar 16, 2015
8b1b800
f2fs: set buffer_new when new blocks are allocated
Mar 12, 2015
4a767ad
f2fs: enhance multi-threads performance
Mar 14, 2015
e165ed0
f2fs: avoid wrong f2fs_bug_on when truncating inline_data
Mar 16, 2015
27a3972
f2fs: avoid punch_hole overhead when releasing volatile data
Mar 18, 2015
31b1809
f2fs: add some tracepoints to debug volatile and atomic writes
Mar 18, 2015
32a5e00
f2fs: enable fast symlink by utilizing inline data
Mar 19, 2015
b08331d
f2fs: split set_data_blkaddr from f2fs_update_extent_cache
chaseyu Mar 19, 2015
b6d2bb6
f2fs: introduce __{find,grab}_extent_tree
chaseyu Mar 19, 2015
8b81402
f2fs: initialize extent tree with on-disk extent info of inode
chaseyu Mar 19, 2015
73033eb
f2fs: preserve extent info for extent cache
chaseyu Mar 19, 2015
99c4cba
f2fs: enable inline data by default
Mar 24, 2015
08530e3
f2fs: preallocate fallocated blocks for direct IO
chaseyu Mar 23, 2015
98fd781
f2fs: avoid NULL pointer dereference in f2fs_xattr_advise_get
chaseyu Mar 23, 2015
1ffc774
f2fs: persist system.advise into on-disk inode
chaseyu Mar 23, 2015
e7f7a2f
f2fs: limit b_size of mapped bh in f2fs_map_bh
chaseyu Mar 24, 2015
4ee0c0d
f2fs: fix sparse warnings
Mar 24, 2015
2c463b9
f2fs: fix mismatching lock and unlock pages for roll-forward recovery
Mar 27, 2015
4815cbb
f2fs: add F2FS_INLINE_DOTS to recover missing dot dentries
Mar 30, 2015
1b6eacd
f2fs: assign parent's i_mode for empty dir
Mar 30, 2015
80673c8
f2fs: do not increase link count during recovery
Apr 1, 2015
55d4c06
f2fs: do not recover wrong data index
Apr 2, 2015
2a43fb3
f2fs: change 0 to false for bool type
TaeheeYoo Apr 13, 2015
19f4ea4
f2fs: flush symlink path to avoid broken symlink after POR
Apr 15, 2015
7bd177d
f2fs: avoid abnormal behavior on broken symlink
Apr 15, 2015
025a0d1
f2fs: pass checkpoint reason on roll-forward recovery
Apr 10, 2015
3aee302
f2fs: support 3.10
Apr 25, 2015
1d78a9b
Enable f2fs
Grarak Sep 13, 2015
e670fc3
android: drivers: workaround debugfs race in binder
May 28, 2015
f4ae8f0
qpnp-haptic: Add sysfs interface to control intensity
Grarak Sep 13, 2015
edecf60
input: Disable all buttons when turning on navbar
Grarak Sep 19, 2015
6d9d201
block: cgroups, kconfig, build bits for BFQ-v7r8-3.10.8+
ariava Sep 18, 2015
be1d6c1
block: introduce the BFQ-v7r8 I/O sched for 3.10.8+
paolo-github Sep 18, 2015
725f9fc
block, bfq: add Early Queue Merge (EQM) to BFQ-v7r8 for
Sep 18, 2015
2af10ba
Enable bfq
Grarak Sep 20, 2015
37f7b8d
tri-state-key: Act as a normal input device
Grarak Sep 20, 2015
e8ab2b0
OnePlus: update to OnePlus2_14_A.08_150919 kernel source
Sep 22, 2015
f304a4c
input: synaptics: Rename input device
Grarak Sep 25, 2015
c00ffbf
input: Turn off hw buttons when display is off
Grarak Sep 26, 2015
b9519d8
input: synaptics: s3320: Rename input device
Grarak Sep 26, 2015
e5dc849
input: synaptics: Create proc file for each gesture
Grarak Sep 27, 2015
b182b0a
input: synaptics: Return integer for key reverse
Grarak Sep 27, 2015
5081fa3
input: synaptics: Log detected gesture
Grarak Sep 27, 2015
a9afc46
input: tri-state-key: Add sysfs to change order of slider
Grarak Sep 27, 2015
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
82 changes: 82 additions & 0 deletions Documentation/ABI/testing/sysfs-fs-f2fs
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
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.
111 changes: 111 additions & 0 deletions Documentation/filesystems/f2fs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ MOUNT OPTIONS
background_gc_off Turn off cleaning operations, namely garbage collection,
triggered in background when I/O subsystem is idle.
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 @@ -114,6 +116,31 @@ active_logs=%u Support configuring the number of active logs. In the
Default number is 6.
disable_ext_identify Disable the extension list configured by mkfs, so f2fs
does not aware of cold files such as media files.
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,
recommend to enable this option.
nobarrier This option can be used if underlying storage guarantees
its cached data should be written to the novolatile area.
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 All @@ -127,6 +154,90 @@ f2fs. Each file shows the whole f2fs information.
- average SIT information about whole segments
- current memory footprint consumed by f2fs.

================================================================================
SYSFS ENTRIES
================================================================================

Information about mounted f2f2 file systems can be found in
/sys/fs/f2fs. Each mounted filesystem will have a directory in
/sys/fs/f2fs based on its device name (i.e., /sys/fs/f2fs/sda).
The files in each per-device directory are shown in table below.

Files in /sys/fs/f2fs/<devname>
(see also Documentation/ABI/testing/sysfs-fs-f2fs)
..............................................................................
File Content

gc_max_sleep_time This tuning parameter controls the maximum sleep
time for the garbage collection thread. Time is
in milliseconds.

gc_min_sleep_time This tuning parameter controls the minimum sleep
time for the garbage collection thread. Time is
in milliseconds.

gc_no_gc_sleep_time This tuning parameter controls the default sleep
time for the garbage collection thread. Time is
in milliseconds.

gc_idle This parameter controls the selection of victim
policy for garbage collection. Setting gc_idle = 0
(default) will disable this option. Setting
gc_idle = 1 will select the Cost Benefit approach
& setting gc_idle = 2 will select the greedy aproach.

reclaim_segments This parameter controls the number of prefree
segments to be reclaimed. If the number of prefree
segments is larger than the number of segments
in the proportion to the percentage over total
volume size, f2fs tries to conduct checkpoint to
reclaim the prefree segments to free segments.
By default, 5% over total # of segments.

max_small_discards This parameter controls the number of discard
commands that consist small blocks less than 2MB.
The candidates to be discarded are cached until
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,
0x04: F2FS_IPU_UTIL, 0x08: F2FS_IPU_SSR_UTIL,
0x10: F2FS_IPU_FSYNC.

min_ipu_util This parameter controls the threshold to trigger
in-place-updates. The number indicates percentage
of the filesystem utilization, and used by
F2FS_IPU_UTIL and F2FS_IPU_SSR_UTIL policies.

min_fsync_blocks This parameter controls the threshold to trigger
in-place-updates when F2FS_IPU_FSYNC mode is set.
The number indicates the number of dirty pages
when fsync needs to flush on its call path. If
the number is less than this value, it triggers
in-place-updates.

max_victim_search This parameter controls the number of trials to
find a victim segment when conducting SSR and
cleaning operations. The default value is 4096
which covers 8GB block address range.

dir_level This parameter controls the directory level to
support large directory. If a directory has a
number of files, it can reduce the file lookup
latency by increasing this dir_level value.
Otherwise, it needs to decrease this value to
reduce the space overhead. The default value is 0.

ram_thresh This parameter controls the memory footprint used
by free nids and cached nat entries. By default,
10 is set, which indicates 10 MB / 1 GB RAM.

================================================================================
USAGE
================================================================================
Expand Down
13 changes: 13 additions & 0 deletions Documentation/networking/ip-sysctl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1357,6 +1357,19 @@ ndisc_notify - BOOLEAN
1 - Generate unsolicited neighbour advertisements when device is brought
up or hardware address changes.

optimistic_dad - BOOLEAN
Whether to perform Optimistic Duplicate Address Detection (RFC 4429).
0: disabled (default)
1: enabled

use_optimistic - BOOLEAN
If enabled, do not classify optimistic addresses as deprecated during
source address selection. Preferred addresses will still be chosen
before optimistic addresses, subject to other ranking in the source
address selection algorithm.
0: disabled (default)
1: enabled

icmp/*:
ratelimit - INTEGER
Limit the maximal rates for sending ICMPv6 packets.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/14049_HW_11/msm-pmi8994.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
qcom,dc-psy-ma = <1500>;
qcom,rparasitic-uohm = <100000>;
qcom,bms-psy-name = "bms";
qcom,thermal-mitigation = <1500 700 600 0>;
qcom,thermal-mitigation = <2000 1000 900 800>;
qcom,parallel-usb-min-current-ma = <1400>;
qcom,parallel-usb-9v-min-current-ma = <900>;
qcom,parallel-allowed-lowering-ma = <500>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/14049_HW_12/msm-pmi8994.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
qcom,dc-psy-ma = <1500>;
qcom,rparasitic-uohm = <100000>;
qcom,bms-psy-name = "bms";
qcom,thermal-mitigation = <1500 700 600 0>;
qcom,thermal-mitigation = <2000 1000 900 800>;
qcom,parallel-usb-min-current-ma = <1400>;
qcom,parallel-usb-9v-min-current-ma = <900>;
qcom,parallel-allowed-lowering-ma = <500>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/14049_HW_13/msm-pmi8994.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
qcom,dc-psy-ma = <1500>;
qcom,rparasitic-uohm = <100000>;
qcom,bms-psy-name = "bms";
qcom,thermal-mitigation = <1500 700 600 0>;
qcom,thermal-mitigation = <2000 1000 900 800>;
qcom,parallel-usb-min-current-ma = <1400>;
qcom,parallel-usb-9v-min-current-ma = <900>;
qcom,parallel-allowed-lowering-ma = <500>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/14049_HW_13/msm8994-v2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@

/* GPU overrides */
&msm_gpu {
qcom,initial-pwrlevel = <4>;
qcom,initial-pwrlevel = <5>;
qcom,msm-bus,num-cases = <10>;
qcom,msm-bus,vectors-KBps =
<26 512 0 0>,
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/14049_HW_14/msm-pmi8994.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
qcom,dc-psy-ma = <1500>;
qcom,rparasitic-uohm = <100000>;
qcom,bms-psy-name = "bms";
qcom,thermal-mitigation = <1500 700 600 0>;
qcom,thermal-mitigation = <2000 1000 900 800>;
qcom,parallel-usb-min-current-ma = <1400>;
qcom,parallel-usb-9v-min-current-ma = <900>;
qcom,parallel-allowed-lowering-ma = <500>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/14049_HW_14/msm8994-v2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@

/* GPU overrides */
&msm_gpu {
qcom,initial-pwrlevel = <4>;
qcom,initial-pwrlevel = <5>;
qcom,msm-bus,num-cases = <10>;
qcom,msm-bus,vectors-KBps =
<26 512 0 0>,
Expand Down
Loading