Re: [PATCH 11/12] target: remove the task_padded_sg field in se_task

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

 



On 10/12/2011 08:07 AM, Christoph Hellwig wrote:
> This field is only check in one place and not actually needed there.
> 
> Rationale:
>  - transport_do_task_sg_chain asserts that we have task_sg_chaining
>    set early on
>  - we only make use of the sg_prev_nents field we calculate based on it
>    if there is another sg list that gets chained onto this one, which
>    never happens for the last (or only) task.
> 
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

These all look good. I like this one especially.

Regards -- Andy
--
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