Rasmus Villemoes | dc32275 | 2021-04-21 11:16:03 +0200 | [diff] [blame] | 1 | config CACHE_FLUSH_WATCHDOG_THRESHOLD |
Christophe Leroy | 69d53d8 | 2023-07-05 16:51:37 +0200 | [diff] [blame] | 2 | int "Bytes to flush between schedule() calls" |
| 3 | default 4096 |
Rasmus Villemoes | dc32275 | 2021-04-21 11:16:03 +0200 | [diff] [blame] | 4 | help |
| 5 | The flush_cache() function periodically, and by default for |
Christophe Leroy | 69d53d8 | 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 | dc32275 | 2021-04-21 11:16:03 +0200 | [diff] [blame] | 8 | overhead. This option allows you to set a threshold for how |
Christophe Leroy | 69d53d8 | 2023-07-05 16:51:37 +0200 | [diff] [blame] | 9 | many bytes to flush between each schedule() call. |