[Stgt-devel] [PATCH 1/1] list.h: prevent a SEGV if we try to clear a list that is already empty
Wed Jul 9 07:32:53 CEST 2008
On Mon, 7 Jul 2008 11:12:08 +1000
"ronnie sahlberg" <ronniesahlberg at gmail.com> wrote:
> Please apply.
> I have reproduced the SEGV that was reported when I/O has failed/been aborted.
> This pathc prevents the SEGV from occuring in this situation.
> It does however not address the root cause why tgtd tries to clear a
> list that is already (and it should know is already?) empty.
It might be easy to debug tgtd with this workaround patch but after
all we need to fix the root problem. It's likely that this workaround
will hurt us in the future.
I think that there might be bugs in Task Management Message
handling. I try to reproduce the problem after I get the detailed
information of Tomasz's configuration.
More information about the stgt