On Thu, 2010-11-11 at 07:21 -0500, Christoph Hellwig wrote: > On Thu, Nov 11, 2010 at 03:07:10AM -0800, Nicholas A. Bellinger wrote: > > This is still required by RAMDISK_DR to allow the backend to perform the > > se_task->task_sg[] mapping from the ramdisk provided struct scatterlists > > using se_subsystem_api->allocate_dma() > > It's not actually used anywhere at all. And if you mean fronted instead > of backend above and imply not yet merged - I don't think adding special > cases for the ramdisk driver into frontends is a good idea, as it's not > really a case worth optimizing for. And even then it's entirely dead > and untested code for now. > Whoops sorry, transport_dev_get_mem_SG() is simply checking for valid se_subsystem_api->allocate_DMA() and ->free_DMA() function pointers for the special RAMDISK_DR case. So dropping the unnecessary DF_TRANSPORT_DMA_ALLOC flag now Sorry for the extra noise. ;) Thanks! -- 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