diff options
Diffstat (limited to 'block/blk-cgroup.h')
-rw-r--r-- | block/blk-cgroup.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/block/blk-cgroup.h b/block/blk-cgroup.h index 3c27bdfc97b9..1d409ad9c6e8 100644 --- a/block/blk-cgroup.h +++ b/block/blk-cgroup.h | |||
@@ -169,7 +169,7 @@ static inline char *blkg_path(struct blkio_group *blkg) | |||
169 | { | 169 | { |
170 | return blkg->path; | 170 | return blkg->path; |
171 | } | 171 | } |
172 | void blkiocg_update_set_active_queue_stats(struct blkio_group *blkg); | 172 | void blkiocg_update_avg_queue_size_stats(struct blkio_group *blkg); |
173 | void blkiocg_update_dequeue_stats(struct blkio_group *blkg, | 173 | void blkiocg_update_dequeue_stats(struct blkio_group *blkg, |
174 | unsigned long dequeue); | 174 | unsigned long dequeue); |
175 | void blkiocg_update_set_idle_time_stats(struct blkio_group *blkg); | 175 | void blkiocg_update_set_idle_time_stats(struct blkio_group *blkg); |
@@ -198,7 +198,7 @@ BLKG_FLAG_FNS(empty) | |||
198 | #undef BLKG_FLAG_FNS | 198 | #undef BLKG_FLAG_FNS |
199 | #else | 199 | #else |
200 | static inline char *blkg_path(struct blkio_group *blkg) { return NULL; } | 200 | static inline char *blkg_path(struct blkio_group *blkg) { return NULL; } |
201 | static inline void blkiocg_update_set_active_queue_stats( | 201 | static inline void blkiocg_update_avg_queue_size_stats( |
202 | struct blkio_group *blkg) {} | 202 | struct blkio_group *blkg) {} |
203 | static inline void blkiocg_update_dequeue_stats(struct blkio_group *blkg, | 203 | static inline void blkiocg_update_dequeue_stats(struct blkio_group *blkg, |
204 | unsigned long dequeue) {} | 204 | unsigned long dequeue) {} |
@@ -226,9 +226,9 @@ void blkiocg_update_completion_stats(struct blkio_group *blkg, | |||
226 | uint64_t start_time, uint64_t io_start_time, bool direction, bool sync); | 226 | uint64_t start_time, uint64_t io_start_time, bool direction, bool sync); |
227 | void blkiocg_update_io_merged_stats(struct blkio_group *blkg, bool direction, | 227 | void blkiocg_update_io_merged_stats(struct blkio_group *blkg, bool direction, |
228 | bool sync); | 228 | bool sync); |
229 | void blkiocg_update_request_add_stats(struct blkio_group *blkg, | 229 | void blkiocg_update_io_add_stats(struct blkio_group *blkg, |
230 | struct blkio_group *curr_blkg, bool direction, bool sync); | 230 | struct blkio_group *curr_blkg, bool direction, bool sync); |
231 | void blkiocg_update_request_remove_stats(struct blkio_group *blkg, | 231 | void blkiocg_update_io_remove_stats(struct blkio_group *blkg, |
232 | bool direction, bool sync); | 232 | bool direction, bool sync); |
233 | #else | 233 | #else |
234 | struct cgroup; | 234 | struct cgroup; |
@@ -253,9 +253,9 @@ static inline void blkiocg_update_completion_stats(struct blkio_group *blkg, | |||
253 | bool sync) {} | 253 | bool sync) {} |
254 | static inline void blkiocg_update_io_merged_stats(struct blkio_group *blkg, | 254 | static inline void blkiocg_update_io_merged_stats(struct blkio_group *blkg, |
255 | bool direction, bool sync) {} | 255 | bool direction, bool sync) {} |
256 | static inline void blkiocg_update_request_add_stats(struct blkio_group *blkg, | 256 | static inline void blkiocg_update_io_add_stats(struct blkio_group *blkg, |
257 | struct blkio_group *curr_blkg, bool direction, bool sync) {} | 257 | struct blkio_group *curr_blkg, bool direction, bool sync) {} |
258 | static inline void blkiocg_update_request_remove_stats(struct blkio_group *blkg, | 258 | static inline void blkiocg_update_io_remove_stats(struct blkio_group *blkg, |
259 | bool direction, bool sync) {} | 259 | bool direction, bool sync) {} |
260 | #endif | 260 | #endif |
261 | #endif /* _BLK_CGROUP_H */ | 261 | #endif /* _BLK_CGROUP_H */ |