Re: [PATCH 01/10] block: add sg buffer copy helper functions

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

 



On Sun, Mar 09 2008, FUJITA Tomonori wrote:
> This patch adds new two helper functions to copy data between an SG
> table and liner buffer.
> 
> - sg_copy_from_buffer copies data from liner buffer to an SG table
> - sg_copy_to_buffer copies data from an SG table to liner buffer
> 
> sg_copy_from_buffer always call flush_kernel_dcache_page. It's not
> necessary for everyone but it's a no-op on most architectures and in
> general the API is not used in performance critical path.

Looks good!

Signed-off-by: Jens Axboe <jens.axboe@xxxxxxxxxx>

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