mbox series

[0/7] Some cleanups and improvements for blk-iocost

Message ID cover.1606186717.git.baolin.wang@linux.alibaba.com (mailing list archive)
Headers show
Series Some cleanups and improvements for blk-iocost | expand

Message

Baolin Wang Nov. 24, 2020, 3:33 a.m. UTC
Hi,

This patch set did some cleanups and improvements for blk-iocost, and
no big functional changes. Please help to review. Thanks.

Baolin Wang (7):
  blk-iocost: Fix some typos in comments
  blk-iocost: Remove unnecessary advance declaration
  blk-iocost: Just open code the q_name()
  blk-iocost: Add a flag to indicate if need update hwi
  blk-iocost: Move the usage ratio calculation to the correct place
  blk-iocost: Factor out the active iocgs' state check into a separate  
      function
  blk-iocost: Factor out the base vrate change into a separate function

 block/blk-iocost.c | 238 ++++++++++++++++++++++++++++-------------------------
 1 file changed, 126 insertions(+), 112 deletions(-)