Lines Matching defs:throtl_grp
107 struct throtl_grp { struct
122 * throtl_grp so that local bios compete fairly with bios argument
128 struct throtl_qnode qnode_on_self[2];
129 struct throtl_qnode qnode_on_parent[2];
136 unsigned long disptime;
138 unsigned int flags;
141 bool has_rules[2];
144 uint64_t bps[2][LIMIT_CNT];
146 uint64_t bps_conf[2][LIMIT_CNT];
149 unsigned int iops[2][LIMIT_CNT];
151 unsigned int iops_conf[2][LIMIT_CNT];
154 uint64_t bytes_disp[2];
156 unsigned int io_disp[2];
158 unsigned long last_low_overflow_time[2];
160 uint64_t last_bytes_disp[2];
161 unsigned int last_io_disp[2];
163 unsigned long last_check_time;
165 unsigned long latency_target; /* us */
166 unsigned long latency_target_conf; /* us */
168 unsigned long slice_start[2];
169 unsigned long slice_end[2];
171 unsigned long last_finish_time; /* ns / 1024 */
172 unsigned long checked_last_finish_time; /* ns / 1024 */
173 unsigned long avg_idletime; /* ns / 1024 */
174 unsigned long idletime_threshold; /* us */
175 unsigned long idletime_threshold_conf; /* us */
177 unsigned int bio_cnt; /* total bios */
178 unsigned int bad_bio_cnt; /* bios exceeding latency threshold */
179 unsigned long bio_cnt_reset_time;
181 atomic_t io_split_cnt[2];
182 atomic_t last_io_split_cnt[2];
184 struct blkg_rwstat stat_bytes;
185 struct blkg_rwstat stat_ios;