[PATCH v3 0/5] blk-iocost: random bugfix
From: Yu Kuai
Date: Mon Dec 26 2022 - 03:39:01 EST
From: Yu Kuai <yukuai3@xxxxxxxxxx>
changes in v3:
- move some patches into separate patchset
- don't return other error number for match_u64() in patch 1
- instead of checking user input separately, set page directly if
'bps + IOC_PAGE_SIZE' will overflow.
Li Nan (2):
blk-iocost: fix divide by 0 error in calc_lcoefs()
blk-iocost: change div64_u64 to DIV64_U64_ROUND_UP in
ioc_refresh_params()
Yu Kuai (3):
blk-iocost: check return value 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 | 31 +++++++++++++++++++++++++------
1 file changed, 25 insertions(+), 6 deletions(-)
--
2.31.1