Lines Matching +full:int +full:- +full:threshold
1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (c) 2020-2021 Huawei Device Co., Ltd.
14 * HM_DEFAULT_WRITEBACK_INTERVAL - centiseconds
15 * HMDFS_FILE_BG_WB_BYTES - background per-file threshold 10M
16 * HMDFS_FS_BG_WB_BYTES - background per-fs threshold 50M
17 * HMDFS_FILE_WB_BYTES - per-file throttle threshold
18 * HMDFS_FS_WB_BYTES - per-fs throttle threshold
31 #define HMDFS_BW_THRESH_MIN_LIMIT (1 << (20 - PAGE_SHIFT))
32 #define HMDFS_BW_THRESH_MAX_LIMIT (100 << (20 - PAGE_SHIFT))
35 #define HMDFS_DIRTY_EXCEED_RATELIMIT (32 >> (PAGE_SHIFT - 10))
62 /* writeback per-file inode list */
67 unsigned int dirty_writeback_interval;
68 /* per-file background threshold */
71 /* per-fs background threshold */
74 /* per-file throttle threshold */
77 /* per-fs throttle threshold */
87 * Enable auto-thresh. If enabled, the background and throttle
93 unsigned int writeback_timelimit;
96 /* bandwidth adjusted per-file throttle thresh */
106 int __percpu *bdp_ratelimits;
108 /* per-fs writeback work */
111 /* per-file writeback work */
115 /* per-fs writeback bandwidth */
134 int hmdfs_init_writeback(struct hmdfs_sb_info *sbi);