Thread (1 message) 1 message, 1 author, 2021-11-26

Re: [bug report] WARNING at block/mq-deadline.c:600 dd_exit_sched+0x1c6/0x260 triggered with blktests block/031

From: Ming Lei <hidden>
Date: 2021-11-26 09:12:52

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help