[v2,0/3] A few cleanup patches for blk-iolatency.c

Message ID 20221018111240.22612-1-shikemeng@huawei.com
Headers
Series A few cleanup patches for blk-iolatency.c |

Message

Kemeng Shi Oct. 18, 2022, 11:12 a.m. UTC
  This series contains three cleanup patches to remove redundant check,
correct comment and simplify struct iolatency_grp in blk-iolatency.c.

---
v2:
 Thanks Josef for review and comment!
 Add Reviewed-by tag from Josef 
 Improve the corrected comment in patch 2/3
---

Kemeng Shi (3):
  block: Remove redundant parent blkcg_gp check in check_scale_change
  block: Correct comment for scale_cookie_change
  block: Replace struct rq_depth with unsigned int in struct
    iolatency_grp

 block/blk-iolatency.c | 37 +++++++++++++++++--------------------
 1 file changed, 17 insertions(+), 20 deletions(-)
  

Comments

Jens Axboe Nov. 1, 2022, 2:17 p.m. UTC | #1
On Tue, 18 Oct 2022 19:12:37 +0800, Kemeng Shi wrote:
> This series contains three cleanup patches to remove redundant check,
> correct comment and simplify struct iolatency_grp in blk-iolatency.c.
> 

Applied, thanks!

[1/3] block: Remove redundant parent blkcg_gp check in check_scale_change
      commit: b6e03072a91ecc815c9f62037871d621b09df2b3
[2/3] block: Correct comment for scale_cookie_change
      commit: 77445572e643538019d9919669ddf36efb6a353a
[3/3] block: Replace struct rq_depth with unsigned int in struct iolatency_grp
      commit: 718ac0e343f8fd81ab042aa4936d25fe10f6b318

Best regards,