Re: [BUG] 2.6.39.1 crash in scsi_dispatch_cmd()

Alan Stern
2011-07-06T16:53:11Z

On Wed, 6 Jul 2011, Roland Dreier wrote:

> On Wed, Jul 6, 2011 at 7:24 AM, James Bottomley
> <James.Bottomley@hansenpartnership.com> wrote:
> > Problem
> > most likely missing block guards on blk_execute_req() ... no check for
> > QUEUE_DEAD.
>
> blk_execute_req() doesn't exist. Do you mean __blk_run_queue()?

He probably meant blk_execute_rq_nowait(). The test has to be done
before the elevator is accessed.

Alan Stern