On Tue, Oct 02, 2012 at 09:16:55PM +0000, Nicholas A. Bellinger wrote: > From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx> > > This patch adds a new target_submit_cmd_map_sgls() to pass pre-allocated > SGL memory using transport_generic_map_mem_to_cmd() logic into the generic > target submit I/O codepath. > > It also adds a target_submit_cmd() wrapper around target_submit_cmd_map_sgls() > for existing fabric code that already assumes internal target-core SGL memory > allocation. > > (v2: Rename to target_submit_cmd_map_sgls + drop TARGET_SCF_MAP_MEM flag > in favor of non zero sgl_count check) The flag is still added, even if it's not actually used in this version. Otherwise looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx> -- 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