]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/f2fs/segment.c
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)
commitc192f7a4779559dddeb8c03de2b6ef499115c938
tree421cbc140d547f470ff66a6974e90999e0ca2ffc
parentd0db7703ac186ff2fbed1e8b862bd43ec3fd2812
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