From: Mike Christie Date: Wed, 11 Nov 2009 22:34:30 +0000 (-0600) Subject: [SCSI] bnx2i: use common iscsi suspend queue X-Git-Tag: v2.6.33-rc1~344^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24246de77503978cfcd7e76f06404e60e399992f;p=pandora-kernel.git [SCSI] bnx2i: use common iscsi suspend queue This just has bnx2i use the iscsi_suspend_queue helper. The suspend works as follows: When ep_poll has succeeed iscsid will call conn_bind, the LLD will then call iscsi_conn_bind which will clear the suspend bit. When ep_disconnect is called (or if there is a conn error) we set the suspend bit. For the ep_disconnect case I added a helper in the previous kernel that will take the session lock to make sure iscsi_queuecommand/xmit_task is not running and it will set the suspend bit. Signed-off-by: Mike Christie Acked-by: Anil Veerabhadrappa Signed-off-by: James Bottomley --- Reading git-diff-tree failed