.. | .. |
---|
271 | 271 | What: /sys/fs/f2fs/<disk>/gc_urgent |
---|
272 | 272 | Date: August 2017 |
---|
273 | 273 | Contact: "Jaegeuk Kim" <jaegeuk@kernel.org> |
---|
274 | | -Description: Do background GC agressively when set. When gc_urgent = 1, |
---|
275 | | - background thread starts to do GC by given gc_urgent_sleep_time |
---|
276 | | - interval. When gc_urgent = 2, F2FS will lower the bar of |
---|
277 | | - checking idle in order to process outstanding discard commands |
---|
278 | | - and GC a little bit aggressively. It is set to 0 by default. |
---|
| 274 | +Description: Do background GC aggressively when set. Set to 0 by default. |
---|
| 275 | + gc urgent high(1): does GC forcibly in a period of given |
---|
| 276 | + gc_urgent_sleep_time and ignores I/O idling check. uses greedy |
---|
| 277 | + GC approach and turns SSR mode on. |
---|
| 278 | + gc urgent low(2): lowers the bar of checking I/O idling in |
---|
| 279 | + order to process outstanding discard commands and GC a |
---|
| 280 | + little bit aggressively. uses cost benefit GC approach. |
---|
| 281 | + gc urgent mid(3): does GC forcibly in a period of given |
---|
| 282 | + gc_urgent_sleep_time and executes a mid level of I/O idling check. |
---|
| 283 | + uses cost benefit GC approach. |
---|
279 | 284 | |
---|
280 | 285 | What: /sys/fs/f2fs/<disk>/gc_urgent_sleep_time |
---|
281 | 286 | Date: August 2017 |
---|
.. | .. |
---|
506 | 511 | Contact: "Daeho Jeong" <daehojeong@google.com> |
---|
507 | 512 | Description: Show how many segments have been reclaimed by GC during a specific |
---|
508 | 513 | GC mode (0: GC normal, 1: GC idle CB, 2: GC idle greedy, |
---|
509 | | - 3: GC idle AT, 4: GC urgent high, 5: GC urgent low) |
---|
| 514 | + 3: GC idle AT, 4: GC urgent high, 5: GC urgent low 6: GC urgent mid) |
---|
510 | 515 | You can re-initialize this value to "0". |
---|
511 | 516 | |
---|
512 | 517 | What: /sys/fs/f2fs/<disk>/gc_segment_mode |
---|