Re: [PATCH] Allow modifications for iface.gateway and iface.subnet_mask

2014-02-01 Thread Hannes Reinecke
On 02/01/2014 06:37 AM, Mike Christie wrote: On 1/29/14 4:19 AM, Hannes Reinecke wrote: For proper operations we need to set gateway and subnet_mask of the individual interfaces. Not every target is connected to the local network. Signed-off-by: Hannes Reinecke h...@suse.de --- usr/idbm.c |

Re: [PATCH 2/2] iscsi tools: Enhance the discovery code for iser

2014-02-01 Thread Or Gerlitz
On Sat, Feb 1, 2014 at 7:14 AM, Mike Christie micha...@cs.wisc.edu wrote: On 1/26/14 8:03 AM, Or Gerlitz wrote:@@ -1406,6 +1406,17 @@ redirect_reconnect: if ((session-t-caps CAP_LOGIN_OFFLOAD)) goto start_conn; + if(!strcmp(session-t-name, iser)) { +

Re: [PATCH 2/2] iscsi tools: Enhance the discovery code for iser

2014-02-01 Thread Mike Christie
On 2/1/14 2:42 PM, Or Gerlitz wrote: On Sat, Feb 1, 2014 at 7:14 AM, Mike Christie micha...@cs.wisc.edu wrote: On 1/26/14 8:03 AM, Or Gerlitz wrote:@@ -1406,6 +1406,17 @@ redirect_reconnect: if ((session-t-caps CAP_LOGIN_OFFLOAD)) goto start_conn; +

Re: [PATCH 2/2] iscsi tools: Enhance the discovery code for iser

2014-02-01 Thread Or Gerlitz
On 02/02/2014 06:12, Mike Christie wrote: On 2/1/14 2:42 PM, Or Gerlitz wrote: At this time (e.g after bind and before sending login) I need only the session discovery yes/no set param, this goes down to different buffer management strategy for discovery vs. normal sessions in iser. I