Re: [PATCH] The Referenced Task Tag (RTT) should be used when handling task management request.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tomonori,

I'll try to test the patch when I back to work.

Right now we suspect the issue is caused by a unfinished command
interfering a new logged in connection.
Suppose a command is during KERNEL state, so tgtd won't abort the
command immediately.
And the initiator try to logout and re-login the target. The accept
function call returns the same fd as previous connection.
After the commands in previous connection return from KERNEL state it
will use the fd do something (which just the same as the new
connection).
And it may cause the new connection go into the TX state.

We test an approach to close the fd in ep_release() rather then
ep_close(). So a new connection won't share the same fd with a
connection that has unfinished commands. Right now it looks good, more
tests need to be done though.

--
Best regards,
Kiefer Chang


2011/5/22 FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>:
> On Sat, 21 May 2011 13:31:37 +0800
> Kiefer Chang <zapchang@xxxxxxxxx> wrote:
>
>> The RTT should be used when processing task management request.
>>
>> Signed-off-by: Kiefer Chang <zapchang@xxxxxxxxx>
>> ---
>>  usr/iscsi/iscsid.c |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> Applied, thanks!
>
> Can you test the patch that I've attached in the previous mail? tgtd still
> crashes?
>
>
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux