[stgt] [PATCH 0/4] iser, new implementation
Alexander Nezhinsky
alexandern at Voltaire.COM
Sun Oct 17 16:06:13 CEST 2010
On 10/14/2010 03:07 PM, FUJITA Tomonori wrote:
> On Wed, 13 Oct 2010 15:31:08 +0200
> Alexander Nezhinsky <alexandern at Voltaire.COM> wrote:
>
>> + added sending NOP-IN. While not mandatory in iscsi, it is quite important
>> in iSER (specifically in IB case). When a connection is broken, IB does not
>> automatically generate error events if there is no operation to
>> fail.
>
> I plan to implement this for tcp too.
>
>> Thus it is quite possible to have stale connections which will never clear,
>> if the target has nothing to send (obviously, nothing will be received
>> from now on). Sending NOP-IN periodically guarantees that such connections
>> will be removed, as the send op will fail with an unrecoverable error.
>> Sending NOP-IN is enabled by default. To disable, invoke tgtd with
>> "--iser nop=off".
>
> The feature should be supported for tcp. I think that configuration
> per target is good enough.
>
>> Uses a timer: do we need a centralized timer management in tgtd?
>
> usr/work.c doesn't work for you? isns code uses it.
>
> When you finish bidi, I'll merge this.
>
> btw, please use a different subject per mail next time.
Ok, i'll remove the current NOP-IN code and implement it using
usr/work.c primitives.
Meanwhile, iser and tcp implementations will remain separate anyway,
until we have some shared logic.
Then I'll resend everything along with the new NOP-IN as a separate patch.
Well, and with distinct subjects per mail, too :)
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt
mailing list