Re: [PATCH 4/9] firewire: fw-sbp2: wait for completion of fetch agentreset

From: Stefan Richter
Date: Mon Feb 04 2008 - 03:12:04 EST


I wrote:
> Like the old sbp2 driver, wait for the write transaction to the
> AGENT_RESET to complete before proceeding (after login, after reconnect,
> or in SCSI error handling).
>
> There is one occasion where AGENT_RESET is written to from atomic
> context when getting DEAD status for a command ORB. There we still
> continue without waiting for the transaction to complete because this
> is more difficult to fix...

In addition, we need to serialize agent resets by the SCSI error handler
and the command ORB completion against ongoing reconnects/ relogins.
--
Stefan Richter
-=====-==--- --=- --=--
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/