public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+fcc47ba2476570cbbeb0@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [syzbot] [PATCH] Test for 4652b8e4f3ff
Date: Tue, 07 Nov 2023 22:25:35 -0800	[thread overview]
Message-ID: <000000000000ad973506099e27e3@google.com> (raw)
In-Reply-To: <0000000000000014460609997fa2@google.com>

For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org.

***

Subject: [PATCH] Test for 4652b8e4f3ff
Author: eadavis@qq.com

please test warning in blk_mq_start_request

#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 4652b8e4f3ff

diff --git a/block/blk-mq.c b/block/blk-mq.c
index e2d11183f62e..26f2921cbc50 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -2575,6 +2575,8 @@ static blk_status_t __blk_mq_issue_directly(struct blk_mq_hw_ctx *hctx,
 	 * Any other error (busy), just add it to our list as we
 	 * previously would have done.
 	 */
+	if (READ_ONCE(rq->state))
+		WRITE_ONCE(rq->state, MQ_RQ_IDLE);
 	ret = q->mq_ops->queue_rq(hctx, &bd);
 	switch (ret) {
 	case BLK_STS_OK:


  parent reply	other threads:[~2023-11-08  6:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <tencent_C325838DE11216DD9C5DAA192E4FCA0DD207@qq.com>
2023-11-08  0:52 ` [syzbot] [block?] WARNING in blk_mq_start_request syzbot
2023-11-08  1:35   ` [syzbot] [PATCH] Test for 4652b8e4f3ff syzbot
2023-11-08  6:25   ` syzbot [this message]
2023-11-08 21:18   ` [syzbot] [block?] WARNING in blk_mq_start_request syzbot
2023-11-09  1:27     ` Chengming Zhou
2023-11-09 18:13       ` Bart Van Assche
2023-11-13 15:05         ` [External] " Chengming Zhou
2023-11-13 23:57           ` Bart Van Assche
2023-11-14 15:05             ` Chengming Zhou
2023-11-08  0:31 [syzbot] [PATCH] Test for 4652b8e4f3ff syzbot

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=000000000000ad973506099e27e3@google.com \
    --to=syzbot+fcc47ba2476570cbbeb0@syzkaller.appspotmail.com \
    --cc=linux-kernel@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