On Wed, 2021-04-21 at 15:55 +0800, Ming Lei wrote: > Hello Guys, > > fnic uses the following way to walk scsi commands in failure handling, > which is obvious wrong, because caller of scsi_host_find_tag has to > guarantee that the tag is active. > > for (tag = 0; tag < fnic->fnic_max_tag_id; tag++) { > ... > sc = scsi_host_find_tag(fnic->lport->host, tag); > ... > } > > Fix the issue by using blk_mq_tagset_busy_iter() to walk > request/scsi_command. How does this relate to Hannes' previous patch? https://marc.info/?l=linux-scsi&m=161400059528859&w=2 Regards Martin