commit | 7ac8c3b051ed3a3e71df72a7ffc44e14cc5c2bae | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Tue Nov 12 15:00:38 2013 +0900 |
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Mon Dec 23 10:18:00 2013 +0900 |
tree | 8a4f45d41c50b2f21b5bd2991ea879016c6d0fbc | |
parent | b29555505d81e496fdbd125190c8043f3c09a83c [diff] |
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: Jaegeuk Kim <jaegeuk.kim@samsung.com>