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

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Wed May 25 18:20:27 CEST 2011

On Wed, 25 May 2011 15:05:27 +0800
Kiefer Chang <zapchang at gmail.com> wrote:

> 2011/5/25 FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>:
> > On Wed, 25 May 2011 00:15:48 +0800
> > Kiefer Chang <zapchang at gmail.com> wrote:
> >
> >> After testing for few day the tgtd won't exit in the iscsi_tx_handler.
> >> But some problem appers:
> >>
> >> (1) Some FDs are not released (Maybe commands on those FDs are not
> >> completed eventually)
> >
> > You mean that the number of used FDs are increasing?
> Yes!

Even with your patch, I can't reproduce it with a tool to close a connection
while a target still has outstanding connections?

tgtd creates only one fd for a new connection. Can you try lsof command to
debug what happens on your system?

> > Have you ever hit this bug?
> NO, my colleague leaves this for debugging only.

I'll remove that part and merge it. We might still have problems but we should
move close to iscsi_tcp_release anyway.

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