[PATCH -next 0/8] iocost bugfix

From: Li Nan
Date: Mon Nov 28 2022 - 10:23:35 EST


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(-)

--
2.31.1