Re: [PATCH] sg: increase sglist_len of the sg_scatter_hold structure

2007-08-08 Thread Jens Axboe
On Wed, Aug 08 2007, FUJITA Tomonori wrote: > Now only scsi-ml is changed to allocate chaining sg list > properly. Others like cciss are not converted yet, I think. It might > make sense to have the standard block layer functions to allocate > chaining sg list properly. So we could convert to poten

Re: [PATCHSET 0/5] Peaceful co-existence of scsi_sgtable and Large IO sg-chaining

2007-08-08 Thread Jens Axboe
On Tue, Aug 07 2007, FUJITA Tomonori wrote: > On Tue, 7 Aug 2007 08:55:49 +0200 > Jens Axboe <[EMAIL PROTECTED]> wrote: > > > On Mon, Aug 06 2007, FUJITA Tomonori wrote: > > > On Tue, 31 Jul 2007 23:12:26 +0300 > > > Boaz Harrosh <[EMAIL PROTECTED]> wrote: > > > > > > > The tested Kernels: > > >

[PATCH 1/4] zfcp: fix memory leak

2007-08-08 Thread Swen Schillig
From: Heiko Carstens <[EMAIL PROTECTED]> fix memory leak. Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> Signed-off-by: Swen Schillig <[EMAIL PROTECTED]> --- drivers/s390/scsi/zfcp_scsi.c |4 +++- 1 file changed, 3 insertions(+), 1 de

[PATCH 2/4] zfcp: allocate gid_pn_data objects from gid_pn_cache

2007-08-08 Thread Swen Schillig
From: Heiko Carstens <[EMAIL PROTECTED]> allocate gid_pn_data objects from gid_pn_cache. Allocate gid_pn_data objects from the corresponding cache which ensures proper alignment. Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> Signed-off-by

[PATCH 3/4] zfcp: Avoid race condition on "link up" event

2007-08-08 Thread Swen Schillig
From: Christoph Schmitt <[EMAIL PROTECTED]> Symptom: zfcp receives a response to a "status read" request that is no longer valid in zfcp. This leads to a kernel panic, since some memory has been overwritten by the response reporting. Problem: On recei

[PATCH 4/4] zfcp: fix the data buffer accessor patch

2007-08-08 Thread Swen Schillig
From: Heiko Carstens <[EMAIL PROTECTED]> Fix the data buffer accessor patch. For request without a data buffer nothing was written into a SBALE. Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> Signed-off-by: Swen Schillig <[EMAIL PROTECTED]> --- drivers/s390/scsi/zfcp_qdio.c | 10 +++---

[PATCH] Quieten down sg warnings with cdparanoia

2007-08-08 Thread Andi Kleen
Quieten down sg warnings When using cdparanoia on SUSE 10.2 I get thousands of warnings. While I'm sure the warning is something important that I just miss quieten it down a bit to report only once for a program. Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> Index: linux-2.6.23-rc1-misc/drivers

Re: [PATCH] move ULD attachment into the prep function

2007-08-08 Thread James Bottomley
On Tue, 2007-08-07 at 18:01 +0300, Boaz Harrosh wrote: > James Bottomley wrote: > > One of the intents of the block prep function was to allow ULDs to use > > it for preprocessing. The original SCSI model was to have a single prep > > function and add a pointer indirect filter to build the necessa

Re: [PATCH] sg: increase sglist_len of the sg_scatter_hold structure

2007-08-08 Thread Mike Christie
FUJITA Tomonori wrote: On Tue, 07 Aug 2007 12:13:41 -0500 Mike Christie <[EMAIL PROTECTED]> wrote: FUJITA Tomonori wrote: Allocating 64K contiguous memory is not good so the next thing to do is converting sg to use the sg chaining support fully. Or it might be For LLDs like aic7xxx, I think we

Re: [3/3] 2.6.23-rc2: known regressions v2

2007-08-08 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.23-rc2. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces NameRegressions fixed since 21-Jun-2007 Adrian Bunk6 Andi Kleen

Re: [PATCH] sg: increase sglist_len of the sg_scatter_hold structure

2007-08-08 Thread Mike Christie
Mike Christie wrote: For drivers like sg and st, do mean the the sg list that is passed to functions like scsi_execute_async? If we kill that argument, and instead have sg.c and other scsi_execute_async callers just call blk helpers like blk_rq_map_user then we would not have to worry about dri

RE: Mptlinux crashes on kernel 2.6.22.1

2007-08-08 Thread Eric Moore
On 2007-08-02 14:16:49, Hommel, Thomas wrote: > I am trying to use a LSI53C1020 based adapter on a PowerPC board with > MPC8641D processor. When initializing, the driver crashes the system > with the error message below. Kernel version is 2.6.22.1, driver > 3.04.04. The chip on the adapter is a 53C

[patch 0/4] Updated AN patches, now without gendisk

2007-08-08 Thread Kristen Carlson Accardi
Hello, Here is an updated set of patches that implement Asynchronous Notification support for ATAPI devices. In this version I no longer export the AN capability through genhd, and the uevent is sent by the scsi_device instead of gendisk. I added a generic SCSI device event mechanism so that it

[patch 1/4] libata: check for AN support

2007-08-08 Thread Kristen Carlson Accardi
Check to see if an ATAPI device supports Asynchronous Notification. If so, enable it. Signed-off-by: Kristen Carlson Accardi <[EMAIL PROTECTED]> Index: 2.6-git/drivers/ata/libata-core.c === --- 2.6-git.orig/drivers/ata/libata-core.c

[patch 2/4] scsi: expose AN support to user space

2007-08-08 Thread Kristen Carlson Accardi
If a scsi_device supports async notification for media change, then let user space know this capability exists by creating a new sysfs entry "media_change_notify", which will be 1 if it is supported, and 0 if not supported. Create a routine which allows scsi devices to send a uevent when media cha

[patch 3/4] libata: expose AN to user space

2007-08-08 Thread Kristen Carlson Accardi
If Asynchronous Notification of media change events is supported, pass that information up to the SCSI layer. Signed-off-by: Kristen Carlson Accardi <[EMAIL PROTECTED]> Index: 2.6-git/drivers/ata/libata-scsi.c === --- 2.6-git.orig/dr

[patch 4/4] libata: send event when AN received

2007-08-08 Thread Kristen Carlson Accardi
When we get an SDB FIS with the 'N' bit set, we should send an event to user space to indicate that there has been a media change. This will be done via the scsi device. Signed-off-by: Kristen Carlson Accardi <[EMAIL PROTECTED]> Index: 2.6-git/drivers/ata/ahci.c =

Re: [patch 1/4] libata: check for AN support

2007-08-08 Thread Andrew Morton
On Wed, 8 Aug 2007 12:08:10 -0700 Kristen Carlson Accardi <[EMAIL PROTECTED]> wrote: > === > --- 2.6-git.orig/include/linux/libata.h > +++ 2.6-git/include/linux/libata.h > @@ -139,7 +139,8 @@ enum { > ATA_DFLAG_FLUSH_EXT = (

[PATCH] [MEGARAID_SAS]: Remove needless memset in megasas_init

2007-08-08 Thread Arnaldo Carvalho de Melo
megasas_mgmt_info is a static variable, so goes to .bss thus zeroed at boot. Signed-off-by: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/megaraid/megaraid_sas.c b/drive

[PATCH] [MEGARAID_SAS]: Use pr_info

2007-08-08 Thread Arnaldo Carvalho de Melo
Signed-off-by: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 14 ++ 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/scsi/megaraid/megaraid_sas.c b/drivers/scsi/megaraid/megaraid_sas.c index 59099da..4a8cf06 100644 ---