Re: [PATCH v2 0/2] block: make changing to the current I/O scheduler cheap again
From: Jens Axboe
Date: Wed Nov 18 2026 - 11:07:51 EST
On Sat, 14 Nov 2026 20:58:31 -0500, Qiliang Yuan wrote:
> Writing the scheduler a queue already uses to queue/scheduler takes
> about 10 ms and freezes the queue, which stalls I/O on live disks every
> time a udev rule or tuning tool sets the scheduler unconditionally.
>
> Patch 1 stops requesting a "none-iosched" module on every write of
> "none". Patch 2 returns before freezing the queue when the elevator
> wouldn't change.
>
> [...]
Applied, thanks!
[1/2] block: don't request a module for the none elevator
commit: c85f570121c94679854b570cae2c0dbcc0eae43b
[2/2] block: return early when the elevator doesn't change
commit: 375a88c6176ffe05e521c2df31b1ceaf4ae5fbaf
Best regards,
--
Jens Axboe