Re: [PATCH] first cut at fixing unable to requeue with no outstanding commands

Mike Anderson
2002-09-30T23:28:11Z

James Bottomley [James.Bottomley@steeleye.com] wrote:
> + if(SHpnt->host_busy == 0 && SHpnt->host_blocked) {
> + /* unblock after host_blocked iterates to zero */
> + if(--SHpnt->host_blocked == 0) {
> + printk("scsi%d unblocking host at zero depth\n", SHpnt->host_no);
> + } else {
> + blk_plug_device(q);
> + break;
> + }
> + }
> +

Are we guaranteed that blk_run_queues will be called for all types of
I/O?

-andmike
--
Michael Anderson
andmike@us.ibm.com