Re: tgtd segfault during heavy I/O

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

On Wed, 20 Jul 2011 19:08:59 +0800
Kiefer Chang <zapchang@xxxxxxxxx> wrote:

> Here is the result, unfortunately neither the core dump or directly
> attaching gdb to tgtd can't show right code trace.
> system log:

Thanks, I'm rewriting tmf code. Please wait for a while.

Can you try the following patch? I want to see if tgtd can survive
with tmf disabled.


From: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
Subject: [PATCH] iscsi: disable tmf

Signed-off-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
 usr/iscsi/iscsid.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/usr/iscsi/iscsid.c b/usr/iscsi/iscsid.c
index 3fbd9f6..d575e18 100644
--- a/usr/iscsi/iscsid.c
+++ b/usr/iscsi/iscsid.c
@@ -1405,6 +1405,9 @@ static int iscsi_tm_execute(struct iscsi_task *task)
 	struct iscsi_tm *req = (struct iscsi_tm *) &task->req;
 	int fn = 0, err = 0;
+	goto out;
 	switch (req->flags & ISCSI_FLAG_TM_FUNC_MASK) {
 		fn = ABORT_TASK;
@@ -1432,7 +1435,7 @@ static int iscsi_tm_execute(struct iscsi_task *task)
 		eprintf("unknown task management function %d\n",
 			req->flags & ISCSI_FLAG_TM_FUNC_MASK);
 	if (err)
 		task->result = err;
 	else {

To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Index of Archives]     [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]
  Powered by Linux