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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux