Hi Jaegeuk,
With the change in the value of GC_THREAD_NOGC_SLEEP_TIME to 60,
we will need to rewrite the gc_thread_func().
As there will be several paths which will not be reached or will have
no meaning after this change.
Considering the cases:
/* if return value is not zero, no victim was
If there is no victim segments selected by background GC, let's wait
a little bit longer time to collect dirty segments.
By default, let's give 10 minutes.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/gc.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/f2fs/gc.h
If there is no victim segments selected by background GC, let's wait
a little bit longer time to collect dirty segments.
By default, let's give 10 minutes.
Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com
---
fs/f2fs/gc.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
Hi Jaegeuk,
With the change in the value of GC_THREAD_NOGC_SLEEP_TIME to 60,
we will need to rewrite the gc_thread_func().
As there will be several paths which will not be reached or will have
no meaning after this change.
Considering the cases:
/* if return value is not zero, no victim was
4 matches
Mail list logo