Re: transport_do_task_sg_chain() still needed?

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

On Wed, Mar 21, 2012 at 5:47 PM, Nicholas A. Bellinger
<nab@xxxxxxxxxxxxxxx> wrote:
> For > 1 task operation in transport_allocate_data_tasks(), the
> transport_do_task_sg_chain() is still required (along with an extra SGL
> per se_task->task_sg[] for the link) in order for a se_cmd's SGLs to be
> made into a single walkable list using scatterlist.h primitives.

OK, that's the part I don't understand.  It seems like
will always make the individual task_sg by taking apart the cmd_sg
that's passed in,
and that's the only place that I can see where we create multiple
tasks for a single
cmd.  So why do we need to splice the task_sgs back together, when we have the
original cmd_sg in one piece from the beginning?

 - R.
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

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

  Powered by Linux