Re: [PATCH 2/2] target: remove dead DF_* flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux