deadlock while cleaning up after transport timeout for target

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

 



Running with 2.6.13, an EMC Symmetrix target with lpfc and getting
into a deadlock when the target port times out WHILE starting to scan
the port via fc_scsi_scan_rport.

The lpfc_worker thread is stuck waiting for the scsi host's work_q to
empty in scsi_flush_work.  But this work queue wont empty since the
inquiry to LUN 0 initiated by the fc_scsi_scan_rport port scan is
getting retried onto the scsi mid-level request queue, seemingly ad
infinitum, since lpfc_queuecommand is returning
SCSI_MLQUEUE_HOST_BUSY whenever a target port infrastructure
is being dismantled.  This prevents the fc_scsi_scan_rport call from
finishing which prevents the target's NODEV timeout from being
completely serviced.  My boot up hangs as a result.

Not clear yet why the timeout is happening in the first place.  This
problem is occurring for about 70% of my reboots :((
-
: 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