diff options
| -rw-r--r-- | block/blk-cgroup.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c index 77f37ef8ef06..617a2b3f7582 100644 --- a/block/blk-cgroup.c +++ b/block/blk-cgroup.c | |||
| @@ -1736,8 +1736,8 @@ out: | |||
| 1736 | 1736 | ||
| 1737 | /** | 1737 | /** |
| 1738 | * blkcg_schedule_throttle - this task needs to check for throttling | 1738 | * blkcg_schedule_throttle - this task needs to check for throttling |
| 1739 | * @q - the request queue IO was submitted on | 1739 | * @q: the request queue IO was submitted on |
| 1740 | * @use_memdelay - do we charge this to memory delay for PSI | 1740 | * @use_memdelay: do we charge this to memory delay for PSI |
| 1741 | * | 1741 | * |
| 1742 | * This is called by the IO controller when we know there's delay accumulated | 1742 | * This is called by the IO controller when we know there's delay accumulated |
| 1743 | * for the blkg for this task. We do not pass the blkg because there are places | 1743 | * for the blkg for this task. We do not pass the blkg because there are places |
| @@ -1769,8 +1769,9 @@ void blkcg_schedule_throttle(struct request_queue *q, bool use_memdelay) | |||
| 1769 | 1769 | ||
| 1770 | /** | 1770 | /** |
| 1771 | * blkcg_add_delay - add delay to this blkg | 1771 | * blkcg_add_delay - add delay to this blkg |
| 1772 | * @now - the current time in nanoseconds | 1772 | * @blkg: blkg of interest |
| 1773 | * @delta - how many nanoseconds of delay to add | 1773 | * @now: the current time in nanoseconds |
| 1774 | * @delta: how many nanoseconds of delay to add | ||
| 1774 | * | 1775 | * |
| 1775 | * Charge @delta to the blkg's current delay accumulation. This is used to | 1776 | * Charge @delta to the blkg's current delay accumulation. This is used to |
| 1776 | * throttle tasks if an IO controller thinks we need more throttling. | 1777 | * throttle tasks if an IO controller thinks we need more throttling. |
