Re: [PATCH scsi-misc-2.6 01/13] scsi: don't use blk_insert_request() for requeueing
From: Tejun Heo
Date: Thu Mar 31 2005 - 23:20:14 EST
On Thu, Mar 31, 2005 at 11:12:11AM +0100, Christoph Hellwig wrote:
> On Thu, Mar 31, 2005 at 06:07:55PM +0900, Tejun Heo wrote:
> > 01_scsi_no_REQ_SPECIAL_on_requeue.patch
> > blk_insert_request() has 'reinsert' argument, which, when set,
> > turns on REQ_SPECIAL and REQ_SOFTBARRIER and requeues the
> > request. SCSI midlayer was the only user of this feature and
> > all requeued requests become special requests defeating
> > quiesce state. This patch makes scsi midlayer use
> > blk_requeue_request() for requeueing and removes 'reinsert'
> > feature from blk_insert_request().
> > Note: In drivers/scsi/scsi_lib.c, scsi_single_lun_run() and
> > scsi_run_queue() are moved upward unchanged.
> That lest part doesn't belong into this patch at all.
Actually, it is, as scsi_queue_insert() is changed to call
scsi_run_queue() explicitly. However, scsi_queue_insert() is removed
later, so the change is pretty dumb. Maybe I'll add prototype and
remove it together later, or reorder patches.
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/