blob: d38ba45a99019b8d68048be69850affe0d82bb52 [file] [log] [blame]
Rasmus Villemoesdc322752021-04-21 11:16:03 +02001config CACHE_FLUSH_WATCHDOG_THRESHOLD
Christophe Leroy69d53d82023-07-05 16:51:37 +02002 int "Bytes to flush between schedule() calls"
3 default 4096
Rasmus Villemoesdc322752021-04-21 11:16:03 +02004 help
5 The flush_cache() function periodically, and by default for
Christophe Leroy69d53d82023-07-05 16:51:37 +02006 every 4k block, calls schedule() to reset watchdog. When
7 flushing a large area, that may add a significant amount of
Rasmus Villemoesdc322752021-04-21 11:16:03 +02008 overhead. This option allows you to set a threshold for how
Christophe Leroy69d53d82023-07-05 16:51:37 +02009 many bytes to flush between each schedule() call.