Re: [PATCH v4 0/5] blk-iocost: random bugfix

From: Jens Axboe
Date: Fri Jan 20 2023 - 10:41:07 EST



On Tue, 17 Jan 2023 15:08:01 +0800, Yu Kuai wrote:
> 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.
>
> [...]

Applied, thanks!

[1/5] blk-iocost: check return value of match_u64()
commit: 7b6a2c89052bfaf750260691dee29c2e457c0929
[2/5] blk-iocost: don't allow to configure bio based device
commit: 204a9e1eeb4b72cd260274f14e521162b130a978
[3/5] blk-iocost: read params inside lock in sysfs apis
commit: 7b810b50390b53c2a81051adce8fcbff3200fc74
[4/5] blk-iocost: fix divide by 0 error in calc_lcoefs()
commit: 4e952a32301a77faea0d36c540ae16847cf2a8ee
[5/5] blk-iocost: change div64_u64 to DIV64_U64_ROUND_UP in ioc_refresh_params()
commit: ad5572498be17b800e75bc36f7d810dd3b673802

Best regards,
--
Jens Axboe