iocost: factor out ioc_forgive_debts()
authorTejun Heo <tj@kernel.org>
Fri, 18 Sep 2020 00:44:52 +0000 (20:44 -0400)
committerJens Axboe <axboe@kernel.dk>
Fri, 25 Sep 2020 14:35:02 +0000 (08:35 -0600)
commitab8df828b5f6eab6377fa0c349c92a3678498256
tree2dba4bd6beb419a12e94a21328c7e9bac6203e21
parent6abc49468eeaad2dd481779906aaa29605139087
iocost: factor out ioc_forgive_debts()

Debt reduction logic is going to be improved and expanded. Factor it out
into ioc_forgive_debts() and generalize the comment a bit. No functional
change.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-iocost.c