[SCSI] lpfc 8.1.1 : Adjust use of scsi_block_requests and interaction w/ FC transport
authorJames.Smart@Emulex.Com <James.Smart@Emulex.Com>
Mon, 28 Nov 2005 16:41:44 +0000 (11:41 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Wed, 14 Dec 2005 01:18:47 +0000 (18:18 -0700)
commit23dc04f1ec0d2f8fdda82ad1f9aa87b6ed74cd4a
tree969cf15f4be04be9cc3f3b20d8faf166f0261ffd
parent6281bfe0002acd7765cb4afe0304c36962ad6b15
[SCSI] lpfc 8.1.1 : Adjust use of scsi_block_requests and interaction w/ FC transport

- Remove unnecessary scsi_block_requests calls on rport deletes.
  This was deadlocking the sdev removals as they wanted to flush commands.
- No longer block requests when adding the remote port (to block
  discovery). Instead, register, then change port role. Maps to Qlogic
  behavior, and closer to the register-node-upon-first-ELS behavior.

Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/lpfc/lpfc_hbadisc.c