Re: [f2fs-dev] [PATCH 2/2] f2fs: introduce gc_urgent mode for background GC

2017-08-10 Thread Chao Yu
On 2017/8/8 9:42, Jaegeuk Kim wrote: > This patch adds a sysfs entry to control urgent mode for background GC. > If this is set, background GC thread conducts GC with gc_urgent_sleep_time > all the time. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu

Re: [f2fs-dev] [PATCH 2/2] f2fs: introduce gc_urgent mode for background GC

2017-08-07 Thread Jaegeuk Kim
Hi Chao, On 08/08, Chao Yu wrote: > Hi Jaegeuk, > > On 2017/8/8 9:42, Jaegeuk Kim wrote: > > This patch adds a sysfs entry to control urgent mode for background GC. > > If this is set, background GC thread conducts GC with gc_urgent_sleep_time > > all the time. > > Good idea. > > If we want to

Re: [f2fs-dev] [PATCH 2/2] f2fs: introduce gc_urgent mode for background GC

2017-08-07 Thread Chao Yu
Hi Jaegeuk, On 2017/8/8 9:42, Jaegeuk Kim wrote: > This patch adds a sysfs entry to control urgent mode for background GC. > If this is set, background GC thread conducts GC with gc_urgent_sleep_time > all the time. Good idea. If we want to add more gc policy, current approach is not friendly

[f2fs-dev] [PATCH 2/2] f2fs: introduce gc_urgent mode for background GC

2017-08-07 Thread Jaegeuk Kim
This patch adds a sysfs entry to control urgent mode for background GC. If this is set, background GC thread conducts GC with gc_urgent_sleep_time all the time. Signed-off-by: Jaegeuk Kim --- Documentation/ABI/testing/sysfs-fs-f2fs | 12 fs/f2fs/gc.c