lkml.org 
[lkml]   [2023]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v4 0/5] blk-iocost: random bugfix
Date
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

\
 
 \ /
  Last update: 2023-03-26 23:43    [W:0.060 / U:1.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site