> Why does your LLD need to reach up into the block layer to find an i/o ? Block layer tagging was the gating item in the previous submission. Going over the conversation on the linux-scsi reflector on STEX driver in this aspect, led us to believe that there should not be any driver level book-keeping of outstanding commands to the HBA. This was the reason for creating scsi_host_find_tag() in scsi_tcq.h (in the patch titled [RFC] [PATCH] helper function for retrieving scsi_cmd given hostbased block layer tag) http://marc.theaimsgroup.com/?l=linux-scsi&m=115871027627964&w=2 James, would you mind letting us know if block-layer tagging in your opinion simply meant using the scsi_cmd->request->tag and let the driver do the book-keeping of out-standing commands to HBA (like stex driver) or is it along the lines we have implemented. > > Even if you are using tags as an index into something... I would think that > having to go up to the blk layer to retrieve a something that should have > already been known lower in the driver leaves room for race conditions. > > -- james s > > David C Somayajulu wrote: > > This is another resubmission of qla4xxx driver for QLogic Corporation's iSCSI HBAs. > > > > The main changes from the previous submission are > > - use block layer tagging > > - clean up code and remove unused function for firmware pass thru > > > > Please not that this patch is dependant on the previously posted patch titled > > [RFC] [PATCH] helper function for retrieving scsi_cmd given host based block layer tag > > ( http://marc.theaimsgroup.com/?l=linux-scsi&m=115871027627964&w=2 ) > > > > > > The complete mega patch for the driver is at > > ftp://ftp.qlogic.com/outgoing/linux/iSCSI/upstream/5.00.05b10-k/0000-Ini tial-Commit-qla4xxx.txt > > > > > > For ease of comprehension the above patch has been broken down into > > the following smaller patches: > > (located at ftp://ftp.qlogic.com/outgoing/linux/iSCSI/upstream/5.00.05b10-k/ ) > > > > 0001-qla4xxx-driver-defs.diff > > 0002-qla4xxx-driver-init.diff > > 0003-qla4xxx-driver-os.diff > > 0004-qla4xxx-driver-isr.diff > > 0005-qla4xxx-driver-mbx.diff > > 0006-qla4xxx-driver-support.diff > > 0007-qla4xxx-driver-version.diff > > > > All patches are against scsi-misc-2.6.git > > > > Other items which needs to be done are > > - Add support for sysfs attributes. > > - Userspace support for session creation/deletion for iscsi HBAs. > > - Add support for other discovery modes ie iSNS/SLP. > > > > Here are the links to the previous two submissions > > http://marc.theaimsgroup.com/?l=linux-scsi&m=115532714515853&w=2 > > > > http://groups.google.com/group/open-iscsi/browse_frm/thread/536ce2edf9a6 0c48?hl=en > > > > I believe block layer tagging was the gating item in the last submission. > > I would really appreciate if it can be merged upstream. > > > > Regards, > > David Somayajulu > > Qlogic Corporation. > > > > > > > > - > > 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 > > - 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