]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] bnx2i: Modified the bnx2i stop path to compensate for in progress ops
authorEddie Wai <eddie.wai@broadcom.com>
Tue, 23 Nov 2010 23:29:28 +0000 (15:29 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:24:14 +0000 (12:24 -0600)
commitc065e3ae86d3a932e32c9aa397e10d3142f6af4d
tree8cb1ba191f2808d9f22a08262bd1589f4f9cc3b3
parent598abea6199db0f842a76ab94a52e688267a4102
[SCSI] bnx2i: Modified the bnx2i stop path to compensate for in progress ops

The stop path has been augmented to wait a max of 10s for all in
progress offload and destroy activities to complete before proceeding
to terminate all active connections (via iscsid or forcefully).

Note that any new offload and destroy requests are now blocked and
return to the caller immediately.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Acked-by: Anil Veerabhadrappa <anilgv@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bnx2i/bnx2i_init.c
drivers/scsi/bnx2i/bnx2i_iscsi.c