f2fs: introduce sbi->gc_mode to determine the policy
authorJaegeuk Kim <jaegeuk@kernel.org>
Mon, 7 May 2018 21:22:40 +0000 (14:22 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 31 May 2018 18:31:51 +0000 (11:31 -0700)
commit5b0e95398e2bcc18e871758221cc712be4a0a39a
tree742796c086e1192d1ec64c9c5c82b8ae59d50239
parent107a805de87ec071dab602071c14e67b98b0c519
f2fs: introduce sbi->gc_mode to determine the policy

This is to avoid sbi->gc_thread pointer access.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/gc.c
fs/f2fs/gc.h
fs/f2fs/segment.c
fs/f2fs/sysfs.c