Re: [PATCH] remove sglist_len

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

 



On Thu, Sep 06 2007, FUJITA Tomonori wrote:
> This is against Jens' sg chaining branch.
> 
> http://git.kernel.org/?p=linux/kernel/git/axboe/linux-2.6-block.git;a=commitdiff;h=d6beb57f48231f5c012fb7d55b369bc0af6b0c41
> 
> The sg chaining patchset adds __use_sg to save the length of sg list
> before dma mapping. The sg chaining patchset also uses sglist_len but
> we can live without it. So let's remove sglist_len since we can add
> something to scsi_cmnd structure only when we definitely need to do.
> 
> Now the sg chaining provides a way to decrease memory consumption and
> doesn't add anything to scsi_cmnd structure.
> 
> James, do you want to change more about the sg chaining's scsi_lib.c?

Looks good to me!

-- 
Jens Axboe

-
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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux