Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7ac8c3b0 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: add a sysfs entry to control max_discards



If frequent small discards are issued to the device, the performance would
be degraded significantly.
So, this patch adds a sysfs entry to control the number of discards to be
issued during a checkpoint procedure.

By default, f2fs does not issue any small discards, which means max_discards
is zero.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk.kim@samsung.com>
parent b2955550
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment