linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: linux-scsi@vger.kernel.org, tomof@acm.org,
	James Bottomley <James.Bottomley@HansenPartnership.com>
Subject: Re: [PATCH 01/10] block: add sg buffer copy helper functions
Date: Mon, 10 Mar 2008 15:37:49 +0100	[thread overview]
Message-ID: <20080310143749.GZ17940@kernel.dk> (raw)
In-Reply-To: <1205037877-12843-2-git-send-email-fujita.tomonori@lab.ntt.co.jp>

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@oracle.com>

-- 
Jens Axboe


  parent reply	other threads:[~2008-03-10 14:37 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-09  4:44 [PATCH 00/10] sg buffer copy helper functions FUJITA Tomonori
2008-03-09  4:44 ` [PATCH 01/10] block: add " FUJITA Tomonori
2008-03-09  4:44   ` [PATCH 02/10] scsi: add wrapper functions for " FUJITA Tomonori
2008-03-09  4:44     ` [PATCH 03/10] scsi_debug: use " FUJITA Tomonori
2008-03-09  4:44       ` [PATCH 04/10] ps3rom: use sg buffer copy helper funcitons FUJITA Tomonori
2008-03-09  4:44         ` [PATCH 05/10] simscsi: " FUJITA Tomonori
2008-03-09  4:44           ` [PATCH 06/10] ips: " FUJITA Tomonori
2008-03-09  4:44             ` [PATCH 07/10] aacraid: use sg buffer copy helper functions FUJITA Tomonori
2008-03-09  4:44               ` [PATCH 08/10] stex: " FUJITA Tomonori
2008-03-09  4:44                 ` [PATCH 09/10] 3w-xxxx: " FUJITA Tomonori
2008-03-09  4:44                   ` [PATCH 10/10] 3w-9xxx: " FUJITA Tomonori
2008-03-10 12:45               ` [PATCH 07/10] aacraid: " Mark Salyzyn
2008-03-10 12:46             ` [PATCH 06/10] ips: use sg buffer copy helper funcitons Mark Salyzyn
2008-03-10 10:15         ` [PATCH 04/10] ps3rom: " Geert Uytterhoeven
2008-03-10 14:37   ` Jens Axboe [this message]
2008-03-10 10:14 ` [PATCH 00/10] sg buffer copy helper functions Geert Uytterhoeven
2008-03-10 14:34   ` FUJITA Tomonori
     [not found] ` <1205037877-12843-1-git-send-email-fujita.tomonori-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
2008-03-10 14:10   ` Boaz Harrosh
2008-03-10 22:39     ` FUJITA Tomonori
2008-03-11 10:05       ` Boaz Harrosh
2008-03-11 20:09       ` Alan Stern
2008-03-12  0:14         ` FUJITA Tomonori
2008-03-12  0:28           ` FUJITA Tomonori
2008-03-12  2:24             ` FUJITA Tomonori
2008-03-12 16:04             ` Alan Stern
2008-03-13  0:03               ` FUJITA Tomonori
2008-03-13  0:18                 ` FUJITA Tomonori
2008-03-13 18:34                   ` Alan Stern
2008-03-12 16:01           ` Alan Stern
2008-03-12 16:26             ` Boaz Harrosh
2008-03-13  0:03             ` FUJITA Tomonori
2008-03-13 18:32               ` Alan Stern
2008-03-14  9:35                 ` FUJITA Tomonori
     [not found]                   ` <20080314183434J.tomof-HInyCGIudOg@public.gmane.org>
2008-03-14 14:46                     ` Alan Stern
2008-03-16 11:55                       ` FUJITA Tomonori
2008-03-16 17:18                         ` Alan Stern
2008-03-17  3:23                           ` FUJITA Tomonori
2008-03-17 14:06                             ` Alan Stern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080310143749.GZ17940@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=fujita.tomonori@lab.ntt.co.jp \
    --cc=linux-scsi@vger.kernel.org \
    --cc=tomof@acm.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).