]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJoe Jin <joe.jin@oracle.com>
Thu, 16 Feb 2012 00:03:30 +0000 (08:03 +0800)
commitf0da655cfa8a3afa0b064b308d56bf62c1d072fe
treeaa8fd9e170261f000348bb23f87637a37927865d
parent6af2d02c8f8f02d9a6006c0e06a54574b991ed9a
[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>
(cherry picked from commit b6e3c84034b93e6acc895711f74730e235dfe9d2)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/scsi/libfc/fc_exch.c