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

From: Jeremy Linton
Date: Wed Dec 20 2006 - 19:06:55 EST


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.




-
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/