aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorYuwei Guan <[email protected]>2022-12-11 13:08:41 +0000
committerJaegeuk Kim <[email protected]>2022-12-12 23:18:36 +0000
commit26a8057a1ada97b528b93fdf3ac4fd03170f1900 (patch)
tree577ce1a027d2031d6440f557042620454680a606 /lib/fault-inject.c
parentf2fs: fix some format WARNING in debug.c and sysfs.c (diff)
downloadkernel-26a8057a1ada97b528b93fdf3ac4fd03170f1900.tar.gz
kernel-26a8057a1ada97b528b93fdf3ac4fd03170f1900.zip
f2fs: reset wait_ms to default if any of the victims have been selected
In non-foreground gc mode, if no victim is selected, the gc process will wait for no_gc_sleep_time before waking up again. In this subsequent time, even though a victim will be selected, the gc process still waits for no_gc_sleep_time before waking up. The configuration of wait_ms is not reasonable. After any of the victims have been selected, we need to reset wait_ms to default sleep time from no_gc_sleep_time. Signed-off-by: Yuwei Guan <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions