[stgt] Why is tid 0 illegal?

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Wed Jul 17 03:47:05 CEST 2013


On Tue, 16 Jul 2013 09:24:47 -0700
Dan Mick <dan.mick at inktank.com> wrote:

> On 7/15/2013 10:32 PM, FUJITA Tomonori wrote:
>> On Mon, 15 Jul 2013 17:43:58 -0700
>> Dan Mick <dan.mick at inktank.com> wrote:
>>
>>> On 07/15/2013 04:40 PM, Dan Mick wrote:
>>>> tgtadm rejects tid 0.
> 
>> Some existing code (e.g. under scripts/) might depend on the above
>> behavior. So I don't like to change unless we have to change.
> 
> If there are tests that depend on it, those tests aren't sufficiently
> generic; if there's support code that does, that support code is also
> broken.  Do you know of anything specifically?  I can investigate/run
> tests.

I meant that there might be some in-house broken code that depends on
the behavior. So I like to avoid to change the behavoir.

> This is a big surprise for new users and shouldn't be a limitation;
> even if it must be, the error has to be better than "tid must be
> supplied".

Agreed with the error. Can you send a patch to improve the error
message?

--
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