]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libfc: avoid exchanges collision during lport reset
authorVasu Dev <vasu.dev@intel.com>
Fri, 28 Oct 2011 18:34:17 +0000 (11:34 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 31 Oct 2011 09:27:19 +0000 (13:27 +0400)
commit57cd5aca8ae3712c54f287305f59330bd24e3a56
treed4f80cd98ba82f5900a1f21ff9b623d86ed12c8f
parent2f300680074e5a80437b0ee3e03c7bf9124f65c1
[SCSI] libfc: avoid exchanges collision during lport reset

Currently timer delay is large and is using msleep to avoid
avoid exchanges collision across lport reset, so instead
do this by initializing exches pool indexes during
reset also.

Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Tested-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/libfc/fc_exch.c
drivers/scsi/libfc/fc_lport.c