File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Documentation/ABI/testing Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -311,10 +311,13 @@ Description: Do background GC aggressively when set. Set to 0 by default.
311
311
GC approach and turns SSR mode on.
312
312
gc urgent low(2): lowers the bar of checking I/O idling in
313
313
order to process outstanding discard commands and GC a
314
- little bit aggressively. uses cost benefit GC approach.
314
+ little bit aggressively. always uses cost benefit GC approach,
315
+ and will override age-threshold GC approach if ATGC is enabled
316
+ at the same time.
315
317
gc urgent mid(3): does GC forcibly in a period of given
316
318
gc_urgent_sleep_time and executes a mid level of I/O idling check.
317
- uses cost benefit GC approach.
319
+ always uses cost benefit GC approach, and will override
320
+ age-threshold GC approach if ATGC is enabled at the same time.
318
321
319
322
What: /sys/fs/f2fs/<disk>/gc_urgent_sleep_time
320
323
Date: August 2017
Original file line number Diff line number Diff line change @@ -257,6 +257,8 @@ static int select_gc_type(struct f2fs_sb_info *sbi, int gc_type)
257
257
258
258
switch (sbi -> gc_mode ) {
259
259
case GC_IDLE_CB :
260
+ case GC_URGENT_LOW :
261
+ case GC_URGENT_MID :
260
262
gc_mode = GC_CB ;
261
263
break ;
262
264
case GC_IDLE_GREEDY :
You can’t perform that action at this time.
0 commit comments