<div dir="ltr"><div>Hi,  Steffen and Kazu</div><div>Sorry, I missed this information.</div><div><br></div><div dir="ltr">On Tue, Jan 4, 2022 at 9:10 AM HAGIO KAZUHITO(萩尾 一仁) <<a href="mailto:k-hagio-ab@nec.com">k-hagio-ab@nec.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">-----Original Message-----<br>
> Admittedly, I haven't looked into the details, but those simple numbers for<br>
> pending IO have been very valuable for me, when analyzing dumps with<br>
> dm-multipath over (FC-attached) SCSI disks. Aren't those pending IO numbers<br>
> available elsewhere in the kernel? Maybe not in debugfs anymore, but I suppose<br>
> the (mq) block layer does keep track of them?<br>
<br>
AFAIK, unfortunately there is no simple counter, crash needs to parse sbitmap<br>
structures to count them.  (please let us know if there is a simpler solution.)<br>
Currently Sergey has worked on adding sbitmap function [1], and we plan to make<br>
use of it after merging the patch.  It may take some time, so Lianbo's patch is<br>
a temporary workaround for the error.<br></blockquote><div> </div><div>In addition, I would like to add that the counter for the ctx->rq_completed/ctx->rq_dispatched(for 'dev -d') may become inaccurate due to racing per-cpu values in the kernel. I'm considering whether crash should print a warning or "not supported" for "dev -d", which can avoid misleading users. So far we have encountered two similar cases.</div><div><br></div><div>What's your opinion?Kazu.</div><div><br></div><div>BTW: Also added IIya to cc list.</div><div><br></div><div>Thanks.</div><div>Lianbo</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Maybe it was better to write the status on the commit log..<br>
<br>
[1] <a href="https://listman.redhat.com/archives/crash-utility/2021-December/msg00062.html" rel="noreferrer" target="_blank">https://listman.redhat.com/archives/crash-utility/2021-December/msg00062.html</a><br>
<br>
Thanks,<br>
Kazu<br>
<br>
</blockquote></div></div>