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