Re: [f2fs-dev] [PATCH] f2fs: don't bother wait_ms by foreground gc

2022-07-24 Thread Chao Yu
On 2022/7/22 10:40, Jaegeuk Kim wrote: On 07/18, qixiaoyu1 wrote: f2fs_gc returns -EINVAL via f2fs_balance_fs when there is enough free secs after write checkpoint, but with gc_merge enabled, it will cause the sleep time of gc thread to be set to no_gc_sleep_time even if there are many dirty

Re: [f2fs-dev] [PATCH] f2fs: don't bother wait_ms by foreground gc

2022-07-21 Thread Jaegeuk Kim
On 07/18, qixiaoyu1 wrote: > f2fs_gc returns -EINVAL via f2fs_balance_fs when there is enough free > secs after write checkpoint, but with gc_merge enabled, it will cause > the sleep time of gc thread to be set to no_gc_sleep_time even if there > are many dirty segments can be selected. > >

[f2fs-dev] [PATCH] f2fs: don't bother wait_ms by foreground gc

2022-07-17 Thread qixiaoyu1
f2fs_gc returns -EINVAL via f2fs_balance_fs when there is enough free secs after write checkpoint, but with gc_merge enabled, it will cause the sleep time of gc thread to be set to no_gc_sleep_time even if there are many dirty segments can be selected. Signed-off-by: qixiaoyu1 --- fs/f2fs/gc.c