diff options
| author | Park Ju Hyung <qkrwngud825@gmail.com> | 2017-09-26 17:13:52 +0900 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2018-05-23 19:11:36 +0200 |
| commit | 42b0ee258c44f83cc82f1166f9745ada0afcd03d (patch) | |
| tree | 9ce92ab480ded6ee68acdab661c7576d273bbbe6 | |
| parent | bd1785f9c33da7edc0e50606e13ccf18be860eb6 (diff) | |
f2fs: make gc_no_gc_sleep_time much more conservative
With the previous patch, we now have plenty of chances to GC properly
even with a very long interval between looped GC runs.
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
| -rw-r--r-- | fs/f2fs/gc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/gc.h b/fs/f2fs/gc.h index adecfcd07..99a63f46f 100644 --- a/fs/f2fs/gc.h +++ b/fs/f2fs/gc.h @@ -18,7 +18,7 @@ #define DEF_GC_THREAD_URGENT_SLEEP_TIME 500 /* 500 ms */ #define DEF_GC_THREAD_MIN_SLEEP_TIME 30000 /* milliseconds */ #define DEF_GC_THREAD_MAX_SLEEP_TIME 60000 -#define DEF_GC_THREAD_NOGC_SLEEP_TIME 300000 /* wait 5 min */ +#define DEF_GC_THREAD_NOGC_SLEEP_TIME 1800000 /* wait 30 min */ #define LIMIT_INVALID_BLOCK 40 /* percentage over total user space */ #define LIMIT_FREE_BLOCK 40 /* percentage over invalid + free space */ |
