On Tue, 2009-06-16 at 17:27 +0300, Boaz Harrosh wrote: > scsi will call .queuecommand upto min(can_queue, .cmd_per_lun) times > without any call to done(). Then for each done() called it will call > .queuecommand again. (If more commands are pending) Actually, there's one extra piece to this: you have to return 0 from your .queuecommand() routine to get the next command. The helpful documentation for all of this is Documentation/scsi/scsi_mid_low_api.txt James -- 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