On Mon, Jun 03, 2019 at 05:13:38PM +0800, Gao Xiang wrote:
> non-inline io_schedule() was introduced in
> commit 10ab56434f2f ("sched/core: Separate out io_schedule_prepare() and
> io_schedule_finish()")
> Keep in line with io_schedule_timeout, Otherwise
> "/proc/<pid>/wchan" will report io_schedule()
> rather than its callers when waiting io.
>
> Reported-by: Jilong Kou <[email protected]>
> Cc: Tejun Heo <[email protected]>
> Cc: Ingo Molnar <[email protected]>
> Cc: Peter Zijlstra <[email protected]>
> Acked-by: Tejun Heo <[email protected]>
> Fixes: 10ab56434f2f ("sched/core: Separate out io_schedule_prepare() and
> io_schedule_finish()")
> Cc: <[email protected]> # 4.11+
> Signed-off-by: Gao Xiang <[email protected]>
Thanks