diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-05-07 23:22:40 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-05-31 20:31:51 +0200 |
commit | 5b0e95398e2bcc18e871758221cc712be4a0a39a (patch) | |
tree | 742796c086e1192d1ec64c9c5c82b8ae59d50239 /fs/f2fs/gc.h | |
parent | f2fs: keep migration IO order in LFS mode (diff) | |
download | linux-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.h | 2 |
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; }; |