Re: Antw: [PATCH] iscsi_tcp: bound max_r2t in iscsi_sw_tcp_conn_set_param()

2012-01-05 Thread Mike Christie
On 01/05/2012 01:26 AM, Ulrich Windl wrote: > Hi! > > May I ask the related question, _why_ is a power of two needed for value > (R2T)? > The iscsi code uses this kernel data struct called a kfifo which requires the size to be a power of 2. And actually as I look at it now to double check, the

Re: Antw: [PATCH] iscsi_tcp: bound max_r2t in iscsi_sw_tcp_conn_set_param()

2012-01-05 Thread Mike Christie
On 01/05/2012 02:58 PM, Mike Christie wrote: > On 01/05/2012 01:26 AM, Ulrich Windl wrote: >> Hi! >> >> May I ask the related question, _why_ is a power of two needed for value >> (R2T)? >> > > The iscsi code uses this kernel data struct called a kfifo which > requires the size to be a power of 2

Re: using iface attributes for SW iscsi transport kernel transport (resend)

2012-01-05 Thread Or Gerlitz
Mike Christie wrote: > Yeah, I was just wondering if you knew all the ones you needed. Again, I surely need / must have the source IP address if its specified in the iface used for the login. The other two params which I've mentioned are also needed in some cases, as for "all the ones you needed

Re: trying to run open-iscsi in an lxc container on suse

2012-01-05 Thread Mike Christie
On 12/28/2011 02:36 AM, Mike Christie wrote: > On 12/22/2011 04:44 PM, pmullaney wrote: >> Hi all, >> >> Running into problems running under lxc. I am running iscsid in the >> container and when it >> attempts to connect to the netlink iscsi socket it is getting a >> connection refused(111) and >>

Re: trying to run open-iscsi in an lxc container on suse

2012-01-05 Thread Mike Christie
On 01/05/2012 08:38 PM, Mike Christie wrote: > On 12/28/2011 02:36 AM, Mike Christie wrote: >> On 12/22/2011 04:44 PM, pmullaney wrote: >>> Hi all, >>> >>> Running into problems running under lxc. I am running iscsid in the >>> container and when it >>> attempts to connect to the netlink iscsi sock