Linux block layer
 help / color / mirror / Atom feed
From: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
To: linux-block@vger.kernel.org
Subject: Re: [PATCH blktests 0/3] test and handle concurrent IO scheduler switching
Date: Mon, 3 Aug 2026 13:06:41 +0900	[thread overview]
Message-ID: <anATkguTHjesxYqH@shinmob> (raw)
In-Reply-To: <20260726053207.1673066-1-shinichiro.kawasaki@wdc.com>

On Jul 26, 2026 / 14:32, Shin'ichiro Kawasaki wrote:
> Until the recent kernel commit 4ff58d6bc9dd ("block: serialize elevator
> changes for the same queue using a writer lock") concurrent writes to
> the sysfs file queue/scheduler caused KASAN failures [1]. The first
> patch of this series adds the regression test case for the fix.
> 
> After the kernel commit, writes to the file queue/scheduler can return
> -EBUSY. This is rare but can happen when udevd writes to the file at
> exactly the same timing as blktests test cases, and it results in
> unexpected test failures. The other two patches in this series handle
> -EBUSY and avoid the failures.
> 
> [1] https://lore.kernel.org/linux-block/20260626004221.711326-1-shinichiro.kawasaki@wdc.com/
> 
> Shin'ichiro Kawasaki (3):
>   block: add test for concurrent IO scheduler switching
>   check: introduce _write_queue_sched() to repeat queue/scheduler writes
>   common, block/{015,020,021,027,040}, zbd/012: use _write_queue_sched()

FYI, I applied the series. As to the first patch, I renumbered the test case
from block/045 to block/047.

      parent reply	other threads:[~2026-08-03  4:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-26  5:32 [PATCH blktests 0/3] test and handle concurrent IO scheduler switching Shin'ichiro Kawasaki
2026-07-26  5:32 ` [PATCH blktests 1/3] block: add test for " Shin'ichiro Kawasaki
2026-07-26  5:32 ` [PATCH blktests 2/3] check: introduce _write_queue_sched() to repeat queue/scheduler writes Shin'ichiro Kawasaki
2026-07-26  5:32 ` [PATCH blktests 3/3] common, block/{015,020,021,027,040}, zbd/012: use _write_queue_sched() Shin'ichiro Kawasaki
2026-08-03  4:06 ` Shin'ichiro Kawasaki [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=anATkguTHjesxYqH@shinmob \
    --to=shinichiro.kawasaki@wdc.com \
    --cc=linux-block@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox