Re: [PATCH RESEND v2 1/2] block: introduce init_wait_func()
From: Jens Axboe
Date: Tue Feb 11 2025 - 15:05:01 EST
On Sat, 08 Feb 2025 17:04:15 +0800, Muchun Song wrote:
> There is already a macro DEFINE_WAIT_FUNC() to declare a wait_queue_entry
> with a specified waking function. But there is not a counterpart for
> initializing one wait_queue_entry with a specified waking function. So
> introducing init_wait_func() for this, which also could be used in iocost
> and rq-qos. Using default_wake_function() in rq_qos_wait() to wake up
> waiters, which could remove ->task field from rq_qos_wait_data.
>
> [...]
Applied, thanks!
[1/2] block: introduce init_wait_func()
commit: 36d03cb3277e29beedb87b8efb1e4da02b26e0c0
[2/2] block: refactor rq_qos_wait()
commit: a052bfa636bb763786b9dc13a301a59afb03787a
Best regards,
--
Jens Axboe