On 10/20/21 09:52, Hao Xu wrote:
在 2021/10/20 上午6:43, Pavel Begunkov 写道: Hi Pavel, The ctx->iowq_limits_set limits the future ctx users, but not the past ones, how about update the numbers for all the current ctx users here? I know the number of workers that a current user uses may already exceeds the newest limitation, but at least this will make it not to grow any more, and may decrement it to the limitation some time later.
Indeed, that was the idea! Though it's a bit trickier, would need ctx->tctx_list traversal, and before putting it in I wanted to take a look at another problem related to ->tctx_list. I hope to get that done asap for 5.15. -- Pavel Begunkov