diff options
author | Chao Yu | 2022-01-18 11:48:02 +0800 |
---|---|---|
committer | Jaegeuk Kim | 2022-01-24 17:40:04 -0800 |
commit | 7d19e3dab0002e527052b0aaf986e8c32e5537bf (patch) | |
tree | f4980266db7e38e1eb75aacbe06cf8e7c56b8b45 /fs/f2fs/segment.c | |
parent | e4544b63a7ee49e7fbebf35ece0a6acd3b9617ae (diff) |
f2fs: fix to enable ATGC correctly via gc_idle sysfs interface
It needs to assign sbi->gc_mode with GC_IDLE_AT rather than GC_AT when
user tries to enable ATGC via gc_idle sysfs interface, fix it.
Fixes: 093749e296e2 ("f2fs: support age threshold based garbage collection")
Cc: Zhipeng Tan <tanzhipeng@hust.edu.cn>
Signed-off-by: Jicheng Shao <shaojicheng@hust.edu.cn>
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.c')
0 files changed, 0 insertions, 0 deletions