[stgt] [BUG] Tgt-1.0.8 exited unexpectedly
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Mon Oct 25 04:00:08 CEST 2010
On Thu, 21 Oct 2010 15:41:12 +0900 (JST)
Hirokazu Takahashi <taka at valinux.co.jp> wrote:
> Hello,
>
> >> I uploaded the log and core at
> >> http://people.valinux.co.jp/~taka/tgtd/
> >
> > Thanks, I got them.
> >
> > btw, with the patch, tgtadm still tells that there are lots of nexuses
> > like as you reported before?
>
> Yes, there were lots of nexuses left before it crashed.
> It seems tgtd had something leaking.
>
>
> Target 1: target1
> System information:
> Driver: iscsi
> State: ready
> I_T nexus information:
> I_T nexus: 4
> Initiator: iqn.2010-09.jp.co.valinux:guest02
> Connection: 0
> IP Address: 172.17.112.102
Ok, can you try the following patch? It's a fix. It disables tmf so we
can see if this leak is caused by tmf or we migth have bugs related
with this at other places.
THanks,
diff --git a/usr/iscsi/iscsid.c b/usr/iscsi/iscsid.c
index 3a79d93..ade96f4 100644
--- a/usr/iscsi/iscsid.c
+++ b/usr/iscsi/iscsid.c
@@ -1403,6 +1403,8 @@ static int iscsi_tm_execute(struct iscsi_task *task)
req->flags & ISCSI_FLAG_TM_FUNC_MASK);
}
+ err = ISCSI_TMF_RSP_NOT_SUPPORTED;
+
if (err)
task->result = err;
else {
--
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