]> git.ipfire.org Git - thirdparty/linux.git/commit
wait: Introduce io_wait_event_killable()
authorRemi Pommarel <repk@triplefau.lt>
Fri, 23 Jan 2026 14:48:07 +0000 (15:48 +0100)
committerDominique Martinet <asmadeus@codewreck.org>
Thu, 29 Jan 2026 07:33:35 +0000 (07:33 +0000)
commitca136b2553084120a1f864f14f4bc70f08cb6420
tree12c79131e5d29dfffb23d53c694a96c4b199b015
parent63804fed149a6750ffd28610c5c1c98cce6bd377
wait: Introduce io_wait_event_killable()

Add io_wait_event_killable(), a variant of wait_event_killable() that
uses io_schedule() instead of schedule(). This is to be used in
situation where waiting time is to be accounted as IO wait time.

Signed-off-by: Remi Pommarel <repk@triplefau.lt>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Message-ID: <1b2870001ecd34fe6c05be2ddfefb3c798b11701.1769179462.git.repk@triplefau.lt>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
include/linux/wait.h