[stgt] tgtd segfault with software RAID, hard resetting link

Chris Webb chris at arachsys.com
Mon Apr 20 13:04:41 CEST 2009

FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp> writes:

> I've not tried to reproduce this problem yet, but can you please try
> this patch?

Hi. Thanks for that: I'll give it a whirl on a test machine as soon as
possible and let you know how it behaves. (My previous test machine is now
in production, so I can't use that---need to put together a new one!)

I'm betraying my lack of familiarity with the tgt code-base here, but there
are two things I don't quite follow about your patch:

  - If you skip a task because it is 'in scsi', when does it get finally get
    cleared up? (Does the list_for_each_entry_safe keep retrying until the
    list is empty?)

  - You set the TASK_in_scsi flags bit, but I don't see it getting cleared
    anywhere. (Does the whole flags word get reset at the end of the SCSI
    command or something like that?)


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