mbox series

[-next,0/8] iocost bugfix

Message ID 20221128154434.4177442-1-linan122@huawei.com (mailing list archive)
Headers show
Series iocost bugfix | expand

Message

Li Nan Nov. 28, 2022, 3:44 p.m. UTC
This patchset fixes problem in iocost. It contains Yu Kuai's patchset he
sent before because of conflicts.

Li Nan (4):
  blk-iocost: fix divide by 0 error in calc_lcoefs()
  blk-iocost: change div64_u64 to DIV64_U64_ROUND_UP in
    ioc_refresh_params()
  blk-iocost: fix possible UAF in ioc_pd_free
  block: fix null-pointer dereference in ioc_pd_init

Yu Kuai (4):
  blk-iocost: cleanup ioc_qos_write() and ioc_cost_model_write()
  blk-iocost: improve hanlder of match_u64()
  blk-iocost: don't allow to configure bio based device
  blk-iocost: read params inside lock in sysfs apis

 block/blk-iocost.c | 114 ++++++++++++++++++++++++++++-----------------
 block/genhd.c      |   2 +-
 2 files changed, 73 insertions(+), 43 deletions(-)