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

[Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [XFree86]     [Video Devices]

Add to Google Powered by Linux