Messages in this thread | | | Date | Wed, 17 Apr 2024 21:57:04 -0700 | From | Christoph Hellwig <> | Subject | Re: [PATCH 1/2] completion: move blk_wait_io to kernel/sched/completion.c |
| |
On Wed, Apr 17, 2024 at 08:00:22PM +0200, Mikulas Patocka wrote: > > > +EXPORT_SYMBOL(wait_for_completion_long_io); > > > > Urgh, why is it a sane thing to circumvent the hang check timer? > > The block layer already does it - the bios can have arbitrary size, so > waiting for them takes arbitrary time.
And as mentioned the last few times around, I think we want a task state to say that task can sleep long or even forever and not propagate this hack even further.
| |