login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
May
»
16
Re: [PATCH 5/19] scsi: convert to using sg helpers
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Jens Axboe
Subject:
Re: [PATCH 5/19] scsi: convert to using sg helpers
Date: Wednesday, May 16, 2007 - 4:25 am
On Wed, May 16 2007, Cornelia Huck wrote:
quoted text
> On Wed, 16 May 2007 10:32:19 +0200, > Jens Axboe <jens.axboe@oracle.com> wrote: > > > This converts the SCSI mid layer to using the sg helpers for looking up > > sg elements, instead of doing it manually. > > > > Signed-off-by: Jens Axboe <jens.axboe@oracle.com> > > --- > > drivers/scsi/scsi_lib.c | 20 +++++++++++--------- > > 1 files changed, 11 insertions(+), 9 deletions(-) > > This needs to include linux/scatterlist.h (other architectures seem to > pull this header in via other routes, but e.g. s390 doesn't). > > --- > drivers/scsi/scsi_lib.c | 1 + > 1 files changed, 1 insertion(+) > > --- linux.orig/drivers/scsi/scsi_lib.c > +++ linux/drivers/scsi/scsi_lib.c > @@ -17,6 +17,7 @@ > #include <linux/pci.h> > #include <linux/delay.h> > #include <linux/hardirq.h> > +#include <linux/scatterlist.h> > > #include <scsi/scsi.h> > #include <scsi/scsi_cmnd.h>
Patch 17 does that, so the end result should work. But I'll move it to patch 5, that is the correct spot to do it. Thanks! -- Jens Axboe -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 0/19] Chaining sg lists for big IO commands v6
, Jens Axboe
, (Wed May 16, 1:32 am)
[PATCH 1/19] crypto: don't pollute the global namespace wi ...
, Jens Axboe
, (Wed May 16, 1:32 am)
[PATCH 2/19] Add sg helpers for iterating over a scatterli ...
, Jens Axboe
, (Wed May 16, 1:32 am)
[PATCH 3/19] libata: convert to using sg helpers
, Jens Axboe
, (Wed May 16, 1:32 am)
[PATCH 4/19] block: convert to using sg helpers
, Jens Axboe
, (Wed May 16, 1:32 am)
[PATCH 5/19] scsi: convert to using sg helpers
, Jens Axboe
, (Wed May 16, 1:32 am)
[PATCH 6/19] Add chained sg support to linux/scatterlist.h
, Jens Axboe
, (Wed May 16, 1:32 am)
[PATCH 7/19] i386 dma_map_sg: convert to using sg helpers
, Jens Axboe
, (Wed May 16, 1:32 am)
[PATCH 8/19] i386: enable sg chaining
, Jens Axboe
, (Wed May 16, 1:32 am)
[PATCH 9/19] swiotlb: sg chaining support
, Jens Axboe
, (Wed May 16, 1:32 am)
[PATCH 10/19] x86-64: update iommu/dma mapping functions t ...
, Jens Axboe
, (Wed May 16, 1:32 am)
[PATCH 11/19] x86-64: enable sg chaining
, Jens Axboe
, (Wed May 16, 1:32 am)
[PATCH 12/19] IA64: sg chaining support
, Jens Axboe
, (Wed May 16, 1:32 am)
[PATCH 13/19] PPC: sg chaining support
, Jens Axboe
, (Wed May 16, 1:32 am)
[PATCH 14/19] SPARC: sg chaining support
, Jens Axboe
, (Wed May 16, 1:32 am)
[PATCH 15/19] SPARC64: sg chaining support
, Jens Axboe
, (Wed May 16, 1:32 am)
[PATCH 16/19] scsi: simplify scsi_free_sgtable()
, Jens Axboe
, (Wed May 16, 1:32 am)
[PATCH 17/19] SCSI: support for allocating large scatterlists
, Jens Axboe
, (Wed May 16, 1:32 am)
[PATCH 18/19] ll_rw_blk: temporarily enable max_segments t ...
, Jens Axboe
, (Wed May 16, 1:32 am)
[PATCH 19/19] drivers: sg chaining support
, Jens Axboe
, (Wed May 16, 1:32 am)
Re: [PATCH 5/19] scsi: convert to using sg helpers
, Cornelia Huck
, (Wed May 16, 4:17 am)
Re: [PATCH 5/19] scsi: convert to using sg helpers
, Jens Axboe
, (Wed May 16, 4:25 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jesse Barnes
Re: [stable] [BUG][PATCH] cpqphp: fix kernel NULL pointer dereference
Greg KH
[003/136] p54usb: add Zcomax XG-705A usbid
Magnus Damm
[PATCH 03/07] ARM: Use shared GIC entry macros on Realview
Oliver Neukum
Re: [Bug #13682] The webcam stopped working when upgrading from 2.6.29 to 2.6.30
Martin Schwidefsky
Re: [PATCH] optimized ktime_get[_ts] for GENERIC_TIME=y
git
:
Junio C Hamano
Re: Some advanced index playing
Jeff King
Re: confusion over the new branch and merge config
Robin Rosenberg
Re: cvs2svn conversion directly to git ready for experimentation
Linus Torvalds
git binary size...
Ævar Arnfjörð Bjarmason
Re: Challenge with Git-Bash
git-commits-head
:
Linux Kernel Mailing List
md: move allocation of ->queue from mddev_find to md_probe
Linux Kernel Mailing List
md: raid0: Represent zone->zone_offset in sectors.
Linux Kernel Mailing List
[ARM] S3C24XX: Add gpio_to_irq() facility
Linux Kernel Mailing List
md: raid0_make_request(): Replace local variable block by sector.
Linux Kernel Mailing List
md: Allow md devices to be created by name.
linux-netdev
:
kaber
[PATCH 07/12] netfilter: xtables: change hotdrop pointer to direct modification
Gerrit Renker
[PATCH 3/5] dccp ccid-2: Remove redundant sanity tests
David Miller
Re: [PATCH net-next-2.6] pcnet32: Remove redundant set of skb->dev
Gerrit Renker
[PATCH 4/5] dccp ccid-2: Simplify dec_pipe and rearming of RTO timer
Saikiran Madugula
[PATCH] Allow fragmentation of VLAN packets traversing a bridge.
freebsd-current
:
Ryan Stone
Re: Re[3]: [Call For Testing] VirtualBox for FreeBSD! take2
Alexey Shuvaev