Messages in this thread | | | From | Yu Kuai <> | Subject | [PATCH v4 0/5] blk-iocost: random bugfix | Date | Tue, 17 Jan 2023 15:08:01 +0800 |
| |
From: Yu Kuai <yukuai3@huawei.com>
changes in v4: - a litter code optimization to make it easier to understand in patch 4.
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 | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-)
-- 2.31.1
| |