Home
last modified time | relevance | path

Searched refs:ratelimit_pages (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/hmdfs/
Dclient_writeback.c235 hwb->ratelimit_pages = hdtc.file_bg_thresh / in hmdfs_update_ratelimit()
237 if (hwb->ratelimit_pages < HMDFS_MIN_RATELIMIT_PAGES) in hmdfs_update_ratelimit()
238 hwb->ratelimit_pages = HMDFS_MIN_RATELIMIT_PAGES; in hmdfs_update_ratelimit()
434 } else if (unlikely(*bdp_ratelimits >= hwb->ratelimit_pages)) { in hmdfs_balance_dirty_pages_ratelimited()
482 hwb->ratelimit_pages = HMDFS_DEF_RATELIMIT_PAGES; in hmdfs_init_writeback()
Dclient_writeback.h104 long ratelimit_pages; member
Dhmdfs_trace.h307 __field(long, ratelimit_pages)
317 __entry->ratelimit_pages = hwb->ratelimit_pages;
323 __entry->ratelimit_pages)
/kernel/linux/linux-5.10/mm/
Dpage-writeback.c67 static long ratelimit_pages = 32; variable
1902 else if (unlikely(*p >= ratelimit_pages)) { in balance_dirty_pages_ratelimited()
2059 ratelimit_pages = dirty_thresh / (num_online_cpus() * 32); in writeback_set_ratelimit()
2060 if (ratelimit_pages < 16) in writeback_set_ratelimit()
2061 ratelimit_pages = 16; in writeback_set_ratelimit()