>>>>> "Bart" == Bart Van Assche <bvanassche@xxxxxxx> writes: Bart> The queuecommand() callback functions in SCSI low-level drivers Bart> need to know which hardware context has been selected by the block Bart> layer. Since this information is not available in the request Bart> structure, and since passing the hctx pointer directly to the Bart> queuecommand callback function would require modification of all Bart> SCSI LLDs, add a function to the block layer that allows to query Bart> the hardware context index. I agree with consolidating the two functions. Otherwise OK. Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx> -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html