Re: [PATCH 04/16] BNX2I: Updated the handling of NETEVENTs to alleviate recovery

2010-11-18 Thread Eddie Wai
On Wed, 2010-11-17 at 19:14 -0800, Mike Christie wrote: On 11/10/2010 05:04 PM, Eddie Wai wrote: case NETDEV_GOING_DOWN: - set_bit(ADAPTER_STATE_GOING_DOWN,hba-adapter_state); - iscsi_host_for_each_session(hba-shost, -

Re: [PATCH 04/16] BNX2I: Updated the handling of NETEVENTs to alleviate recovery

2010-11-18 Thread Michael Chan
On Wed, 2010-11-17 at 19:14 -0800, Mike Christie wrote: On 11/10/2010 05:04 PM, Eddie Wai wrote: case NETDEV_GOING_DOWN: - set_bit(ADAPTER_STATE_GOING_DOWN,hba-adapter_state); - iscsi_host_for_each_session(hba-shost, -

Re: [PATCH 04/16] BNX2I: Updated the handling of NETEVENTs to alleviate recovery

2010-11-17 Thread Mike Christie
On 11/10/2010 05:04 PM, Eddie Wai wrote: case NETDEV_GOING_DOWN: - set_bit(ADAPTER_STATE_GOING_DOWN,hba-adapter_state); - iscsi_host_for_each_session(hba-shost, - bnx2i_drop_session); + /* Suspend all

[PATCH 04/16] BNX2I: Updated the handling of NETEVENTs to alleviate recovery

2010-11-10 Thread Eddie Wai
The NETDEV_GOING_DOWN handling will no longer request to put all active sessions into recovery mode until the NETDEV_DOWN event. This will eliminate the unnecessary recovery request to iscsid in the NETDEV_GOING_DOWN-NETDEV_UNREGISTER path which will remove the host anyway. Signed-off-by: Eddie