]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: find data segments across all the types
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 23 Feb 2017 01:10:18 +0000 (17:10 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 24 Feb 2017 18:01:08 +0000 (10:01 -0800)
commitd368ac50a63a15a1a09d73f064b25ad127b9bded
tree421cbc140d547f470ff66a6974e90999e0ca2ffc
parent4de82ab57b2da0a5dd0cb8db4ca2cc7476374578
f2fs: find data segments across all the types

Previously, if type is CURSEG_HOT_DATA, we only check CURSEG_HOT_DATA only.
This patch fixes to search all the different types for SSR.

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