Skip to content

fnic: use scsi_host_busy_iter() to traverse commands

Hannes Reinecke linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3fnic: kill 'exclude_id' argument to fnic_cleanup_io()drivers/scsi/fnic/fnic_scsi.c+3 -61 reply
2/3fnic: use scsi_host_busy_iter() to traverse commandsdrivers/scsi/fnic/fnic_scsi.c+375 -4461 reply
3/3fnic: check for started requests in fnic_wq_copy_cleanup_handler()drivers/scsi/fnic/fnic_scsi.c+1 -16 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchMing Lei
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] fnic: use scsi_host_busy_iter() to traverse commands

Hi all,

the fnic driver is walking the list of tags manually, causing frequent crashes as the block layer doesn't necessarily cleans up requests after usage.
So switch to scsi_host_busy_iter() to traverse commands avoiding this problem.

As usual, comments and reviews are welcome.

Hannes Reinecke (3):
fnic: kill 'exclude_id' argument to fnic_cleanup_io()
fnic: use scsi_host_busy_iter() to traverse commands
fnic: check for started requests in fnic_wq_copy_cleanup_handler()

 drivers/scsi/fnic/fnic_scsi.c | 830 ++++++++++++++++------------------
 1 file changed, 378 insertions(+), 452 deletions(-)
Signature · 1 line
2.29.2