On 11/23/21 9:56 AM, Christoph Hellwig wrote: > On Tue, Nov 23, 2021 at 09:53:58AM -0700, Jens Axboe wrote: >> Actually may not be that trivial - if a thread is cloned with CLONE_IO, >> then it shares the io_context, and hence also the io priority. That will >> auto-propagate if one linked task changes it, and putting it in the >> task_struct would break that. >> >> So I don't think we can do that - which is a shame, as it would be a >> nice cleanup. > > Indeed. We should still be able to move the call to > create_task_io_context into blk_mq_sched_assign_ioc Definitely, I'll make that change. -- Jens Axboe