Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af26999c authored by Park Ju Hyung's avatar Park Ju Hyung Committed by Razziell
Browse files

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.

Change-Id: If87fab3434f67e600259b3b02c42cd5730236440
Signed-off-by: default avatarPark Ju Hyung <qkrwngud825@gmail.com>
Signed-off-by: default avatarAlbert I <krascgq@outlook.co.id>
parent a9c52d49
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */