public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
From: Ming Lei <ming.lei@redhat.com>
To: Yi Zhang <yi.zhang@redhat.com>
Cc: linux-block@vger.kernel.org
Subject: Re: [bug report] WARNING at block/mq-deadline.c:600 dd_exit_sched+0x1c6/0x260 triggered with blktests block/031
Date: Fri, 26 Nov 2021 17:10:15 +0800	[thread overview]
Message-ID: <YaCkd3xF75eeRTen@T590> (raw)
In-Reply-To: <CAHj4cs8L0Q0oS2RgNOr+cC55NeALKCYW_BzeFxctWvcrub-iVQ@mail.gmail.com>

Hi Yi,

On Fri, Nov 26, 2021 at 11:45:14AM +0800, Yi Zhang wrote:
> Hi MIng
> It still can be reproduced with the latest for-next[1].
> BTW, it was only reproduced when I first time run block/031, cannot be
> reproduced if I run it the second time.

Firstly can you reproduce it on v5.16-rc2?

Secondly, can you collect the bpftrace log via the attached script when
running block/031?

#!/usr/bin/bpftrace
#include <linux/blkdev.h>
#include <linux/blk-mq.h>
#include <linux/genhd.h>

kprobe:dd_insert_request
{
	$rq = (struct request *)arg1;

	if (!($rq->rq_flags & (1 << 12))) {
		printf("%lu %16s %d %d: %s rq %lx/%x %s\n", nsecs / 1000,  comm, pid, cpu,
			ksym(reg("ip")), $rq->cmd_flags, $rq->rq_flags,
			kstack);
	}
}


Thanks,
Ming


  parent reply	other threads:[~2021-11-26  9:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-25 11:02 [bug report] WARNING at block/mq-deadline.c:600 dd_exit_sched+0x1c6/0x260 triggered with blktests block/031 Yi Zhang
2021-11-26  2:27 ` Ming Lei
     [not found]   ` <CAHj4cs8L0Q0oS2RgNOr+cC55NeALKCYW_BzeFxctWvcrub-iVQ@mail.gmail.com>
2021-11-26  9:10     ` Ming Lei [this message]
2021-11-26 16:24   ` Ming Lei
2021-11-26 16:38     ` Jens Axboe
2021-11-27  2:19       ` Yi Zhang

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=YaCkd3xF75eeRTen@T590 \
    --to=ming.lei@redhat.com \
    --cc=linux-block@vger.kernel.org \
    --cc=yi.zhang@redhat.com \
    /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