summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/gc.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2018-05-07 23:22:40 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2018-05-31 20:31:51 +0200
commit5b0e95398e2bcc18e871758221cc712be4a0a39a (patch)
tree742796c086e1192d1ec64c9c5c82b8ae59d50239 /fs/f2fs/gc.h
parentf2fs: keep migration IO order in LFS mode (diff)
downloadlinux-5b0e95398e2bcc18e871758221cc712be4a0a39a.tar.xz
linux-5b0e95398e2bcc18e871758221cc712be4a0a39a.zip
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>
Diffstat (limited to 'fs/f2fs/gc.h')
-rw-r--r--fs/f2fs/gc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/f2fs/gc.h b/fs/f2fs/gc.h
index b0045d4c8d1e..c8619e408009 100644
--- a/fs/f2fs/gc.h
+++ b/fs/f2fs/gc.h
@@ -36,8 +36,6 @@ struct f2fs_gc_kthread {
unsigned int no_gc_sleep_time;
/* for changing gc mode */
- unsigned int gc_idle;
- unsigned int gc_urgent;
unsigned int gc_wake;
};