Re: [PATCH] scsi_execute_async() should add to the tail of the queue

Jeremy Linton
2006-12-21T00:06:20Z

> So instead of adding a parameter, we can make scsi_execute_async()
> decide for itself based on the SCSI command, with read/write I/Os
> taking the lowest priority.
This seems like a bad idea, I can come up with a number of cases where
the priority of a request would better be optimized by a higher level
subsystem, rather than a simple prioritization based on the command type.

The original suggestion to provide both head and tail insertion options
seems like the obvious solution, short of a full priority queuing system.