Re: [PATCH 1/2] target: Reject SCSI data overflow for fabrics using transport_generic_map_mem_to_cmd

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

 



On Wed, Nov 16, 2011 at 08:57:51AM -0500, Christoph Hellwig wrote:
> Maybe this is a sign that at least the iscsi target should stop
> allocating its own pages and switch back to the core allocation, which
> should be easily possible after the s/g list conversion.
> 
> I also wonder if keeping this special case for tcm_loop is a good idea -
> it surely is a nice optimization, but then again tcm_loop is more a
> debugging and testing tool than something we should optimize for.

Always doing the memory allocation in the core code would also have the
benefit that we'll only have to allocate the per-task S/G lists and
optionally chain them together and not bother with per-commands ones
any more.

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux