On 03/14/2016 05:27 AM, Finn Thain wrote: > Now that atari_scsi and sun3_scsi have been converted to use the NCR5380.c > core driver, remove atari_NCR5380.c. Also remove the last vestiges of its > Tagged Command Queueing implementation from the wrapper drivers. > > The TCQ support in atari_NCR5380.c is abandoned by this patch. It is not > merged into the remaining core driver because, > > 1) atari_scsi defines SUPPORT_TAGS but leaves FLAG_TAGGED_QUEUING disabled > by default, which indicates that it is mostly undesirable. > > 2) I'm told that it doesn't work correctly when enabled. > > 3) The algorithm does not make use of block layer tags which it will have > to do because scmd->tag is deprecated. > > 4) sun3_scsi doesn't define SUPPORT_TAGS at all, yet the the SUPPORT_TAGS > macro interacts with the CONFIG_SUN3 macro in 'interesting' ways. > > 5) Compile-time configuration with macros like SUPPORT_TAGS caused the > configuration space to explode, leading to untestable and unmaintainable > code that is too hard to reason about. > > The merge_contiguous_buffers() code is also abandoned. This was unused > by sun3_scsi. Only atari_scsi used it and then only on TT, because only TT > supports scatter/gather. I suspect that the TT would work fine with > ENABLE_CLUSTERING instead. If someone can benchmark the difference then > perhaps the merge_contiguous_buffers() code can be be justified. Until > then we are better off without the extra complexity. > > Signed-off-by: Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx> > > --- > drivers/scsi/NCR5380.c | 22 > drivers/scsi/NCR5380.h | 19 > drivers/scsi/atari_NCR5380.c | 2632 ------------------------------------------- > drivers/scsi/atari_scsi.c | 11 > drivers/scsi/mac_scsi.c | 8 > drivers/scsi/sun3_scsi.c | 11 > 6 files changed, 4 insertions(+), 2699 deletions(-) > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@xxxxxxx +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- 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