Re: [PATCH] fc transport: pre-emptively terminate i/o upon dev_loss_tmo timeout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Agreed - thanks Mike.

-- james s

Mike Christie wrote:
James Smart wrote:
diff -upNr a/drivers/scsi/scsi_transport_fc.c b/drivers/scsi/scsi_transport_fc.c
--- a/drivers/scsi/scsi_transport_fc.c        2008-10-18 10:32:52.000000000 -0400
+++ b/drivers/scsi/scsi_transport_fc.c        2008-12-05 12:13:54.000000000 -0500
@@ -3012,6 +3012,16 @@ fc_timeout_deleted_rport(struct work_str
@@ -3035,7 +3045,6 @@ fc_timeout_deleted_rport(struct work_str
       * went away and didn't come back - we'll remove
       * all attached scsi devices.
       */
-     spin_unlock_irqrestore(shost->host_lock, flags);

      scsi_target_unblock(&rport->dev);
      fc_queue_work(shost, &rport->stgt_delete_work);


We do not need this unblock call anymore. The added
fc_terminate_rport_io will do this. I attached a patch that removes it
for you.

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux