f2fs: add a new function get_ssr_cost
authorYunlei He <heyunlei@huawei.com>
Wed, 17 May 2017 09:22:51 +0000 (17:22 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 24 May 2017 04:07:17 +0000 (21:07 -0700)
commitb7b7c4cf1c9ef0272a65f1480457cbfdadcda19d
treede3e550932495a5147608feddb97ca10d75ccb01
parentbd80a4b9812c0d74ecfc0b1b14ca77732faa2259
f2fs: add a new function get_ssr_cost

This patch add a new method get_ssr_cost to select
SSR segment more accurately.

Signed-off-by: Yunlei He <heyunlei@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/gc.c