f2fs: add auto tuning for small devices
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 22 Feb 2018 22:09:30 +0000 (14:09 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 8 Apr 2018 11:11:30 +0000 (04:11 -0700)
commit8fe06ea28273fcf6228643c1c067e361637662ab
treef1405457bdc2ff6d85baa0993f29a2ff40bb4844
parent073c145d5bef370801f66b3451ee7a9097f10107
f2fs: add auto tuning for small devices

If f2fs is running on top of very small devices, it's worth to avoid abusing
free LBAs. In order to achieve that, this patch introduces some parameter
tuning.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.h
fs/f2fs/super.c