Re: [PATCH] libiscsi: Fix iscsi_check_transport_timeouts possible infinite loop

2015-07-05 Thread Sagi Grimberg
On 7/2/2015 11:11 PM, Mike Christie wrote: On 6/30/15, 9:55 AM, Sagi Grimberg wrote: From: Ariel Nahum Connection last_ping is not being updated when iscsi_send_nopout fails. Not updating the last_ping will cause firing a timer to a past time (last_ping + ping_tmo < current_time) which trigger

Re: [PATCH] libiscsi: Fix iscsi_check_transport_timeouts possible infinite loop

2015-07-02 Thread Mike Christie
On 6/30/15, 9:55 AM, Sagi Grimberg wrote: From: Ariel Nahum Connection last_ping is not being updated when iscsi_send_nopout fails. Not updating the last_ping will cause firing a timer to a past time (last_ping + ping_tmo < current_time) which triggers an infinite loop of iscsi_check_transport_

[PATCH] libiscsi: Fix iscsi_check_transport_timeouts possible infinite loop

2015-06-30 Thread Sagi Grimberg
From: Ariel Nahum Connection last_ping is not being updated when iscsi_send_nopout fails. Not updating the last_ping will cause firing a timer to a past time (last_ping + ping_tmo < current_time) which triggers an infinite loop of iscsi_check_transport_timeouts() and hogs the cpu. Fix this issue