mbox series

[v3,0/5] blk-iocost: random bugfix

Message ID 20221226085859.2701195-1-yukuai1@huaweicloud.com (mailing list archive)
Headers show
Series blk-iocost: random bugfix | expand

Message

Yu Kuai Dec. 26, 2022, 8:58 a.m. UTC
From: Yu Kuai <yukuai3@huawei.com>

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