mbox series

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

Message ID 20210429122517.39659-1-hare@suse.de (mailing list archive)
Headers show
Series fnic: use scsi_host_busy_iter() to traverse commands | expand

Message

Hannes Reinecke April 29, 2021, 12:25 p.m. UTC
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(-)