Rasmus Villemoes | 729c1fe | 2021-04-21 11:16:03 +0200 | [diff] [blame] | 1 | config CACHE_FLUSH_WATCHDOG_THRESHOLD |
Christophe Leroy | 64948e2 | 2023-07-05 16:51:37 +0200 | [diff] [blame] | 2 | int "Bytes to flush between schedule() calls" |
| 3 | default 4096 |
Rasmus Villemoes | 729c1fe | 2021-04-21 11:16:03 +0200 | [diff] [blame] | 4 | help |
| 5 | The flush_cache() function periodically, and by default for |
Christophe Leroy | 64948e2 | 2023-07-05 16:51:37 +0200 | [diff] [blame] | 6 | every 4k block, calls schedule() to reset watchdog. When |
| 7 | flushing a large area, that may add a significant amount of |
Rasmus Villemoes | 729c1fe | 2021-04-21 11:16:03 +0200 | [diff] [blame] | 8 | overhead. This option allows you to set a threshold for how |
Christophe Leroy | 64948e2 | 2023-07-05 16:51:37 +0200 | [diff] [blame] | 9 | many bytes to flush between each schedule() call. |