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>
Mon, 12 Mar 2018 23:05:51 +0000 (08:05 +0900)
commit84b89e5d943d8d6b997fcebb4609373e1b3e4b03
treebaabb3abc1ca2d978615eee6ef43dbdd115dbddb
parent079396270b0f1e98496ef7672dd754bdd42574dc
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