Re: [PATCH 06/17] target/core: Use sg_alloc_table() instead of open-coding it

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

 



On Fri, Oct 05, 2018 at 06:52:12AM -0700, Bart Van Assche wrote:
> On 10/5/18 12:46 AM, Christoph Hellwig wrote:
>> On Mon, Sep 17, 2018 at 02:35:43PM -0700, Bart Van Assche wrote:
>>> The purpose of sg_alloc_table() is to allocate and initialize an
>>> sg-list. Use that function instead of open-coding it.
>>
>> Hmm.  This looks correct, but what is the point if we don't plan
>> on using chained sg-lists?
>
> This patch makes it easier to replace the SCSI target sg-list allocation 
> code by (library) code that caches sg-list allocations. I still hope to 
> find some time to work on this.

Ok.

> Since the rest of this series does not depend on this patch, I can leave it 
> out if you want.

Maybe just update the changelog to explain this better?



[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