Re: [PATCH] as i/o hang with aacraid driver 2.6.0-test1

Alan Cox
2003-07-16T12:54:26Z

On Mer, 2003-07-16 at 00:02, Mark Haverkamp wrote:
> Daniel McNeil and I have been debugging a hang with the aacraid driver
> using the as I/O scheduler. We found that scsi_request_fn would
> de-queue a request and later re-queued it. This left the
> as_data->nr_dispatched variable in an inconsistent state (it was never
> being decremented back to zero). We added a call to
> elv_completed_request to clean up the state before re-adding the
> request. This has fixed our hang problem. The linux-scsi list is being
> copied for review of the scsi_lib.c change.

Your aacraid is now terminally obsolete btw, the 2.4 one adds new cards
and fixes some bugs including one or two "under high load it dies" cases