Re: [PATCH] qla4xxx: allow hba to be online when initiator ip address is uninitialized

2007-06-13 Thread Mike Christie
David C Somayajulu wrote: > On Fri, 2007-06-08 at 17:29 -0700, David C Somayajulu wrote: >> This patch provides the following: >> 1. remove warning ignoring the return value of pci_set_mwi() >> 2. allows HBA to be online when the initiator ip address is uninitialized. > Including > > Signed-off-b

SG TUR and AIO

2007-06-13 Thread Christophe Varoqui
Hi, I'm trying to make multipath daemon checking asynchronous, and most path checkers use SG. Please bare with some questions on this wild wild topic (to search engine criteria). Is it possible to submit through AIO (libaio API) any SG command forged with struct sg_io_hdr ? I've seen the INQ exa

[PATCH 6/6] mpt fusion: bump version

2007-06-13 Thread Eric Moore
bump version Signed-off-by: Eric Moore <[EMAIL PROTECTED]> diff -uarpN b/drivers/message/fusion/mptbase.h a/drivers/message/fusion/mptbase.h --- b/drivers/message/fusion/mptbase.h 2007-06-13 15:36:18.0 -0600 +++ a/drivers/message/fusion/mptbase.h 2007-06-13 15:40:23.0 -0600 @@

[PATCH 5/6] mpt fusion: fc loginfo using defines from the header

2007-06-13 Thread Eric Moore
rewrite of mpt_fc_log_info to use the enum/defines from mpi_log_fc.h Signed-off-by: Eric Moore <[EMAIL PROTECTED]> diff -uarpN b/drivers/message/fusion/mptbase.c a/drivers/message/fusion/mptbase.c --- b/drivers/message/fusion/mptbase.c 2007-06-13 14:46:35.0 -0600 +++ a/drivers/message/

[PATCH 4/6] mpt fusion: remove unused header - linux_compat.h

2007-06-13 Thread Eric Moore
remove unused header Signed-off-by: Eric Moore <[EMAIL PROTECTED]> diff -uarpN b/drivers/message/fusion/linux_compat.h a/drivers/message/fusion/linux_compat.h --- b/drivers/message/fusion/linux_compat.h 2007-04-25 21:08:32.0 -0600 +++ a/drivers/message/fusion/linux_compat.h 1969

[PATCH 3/6] mpt fusion: remove unused header - mpi_inb.h

2007-06-13 Thread Eric Moore
fc inband managment header deleted Signed-off-by: Eric Moore <[EMAIL PROTECTED]> diff -uarpN b/drivers/message/fusion/lsi/mpi_inb.h a/drivers/message/fusion/lsi/mpi_inb.h --- b/drivers/message/fusion/lsi/mpi_inb.h 2007-06-12 15:29:07.0 -0600 +++ a/drivers/message/fusion/lsi/mpi_inb

[PATCH 2/6] mpt fusion: new mpi headers version 1.5.16

2007-06-13 Thread Eric Moore
mpi header update Signed-off-by: Eric Moore <[EMAIL PROTECTED]> diff -uarpN b/drivers/message/fusion/lsi/mpi.h a/drivers/message/fusion/lsi/mpi.h --- b/drivers/message/fusion/lsi/mpi.h 2007-04-25 21:08:32.0 -0600 +++ a/drivers/message/fusion/lsi/mpi.h 2007-06-12 15:29:07.0 -06

[PATCH 1/6] mpt fusion: update MAINTAINERS (fusion part)

2007-06-13 Thread Eric Moore
Update assocated fusion sources with new support email address. Signed-off-by: Eric Moore <[EMAIL PROTECTED]> diff -uarpN b/drivers/message/fusion/mptbase.c a/drivers/message/fusion/mptbase.c --- b/drivers/message/fusion/mptbase.c 2007-06-12 12:21:58.0 -0600 +++ a/drivers/message/fusio

[PATCH] mpt fusion: update MAINTAINERS

2007-06-13 Thread Eric Moore
LSI has a new distribution list for linux support and associated inquires. The previous list at [EMAIL PROTECTED] has been deleted. I will continue maintaining this driver, as well as others at LSI. Signed-off-by: Eric Moore <[EMAIL PROTECTED]> --- b/MAINTAINERS 2007-06-12 12:21:42.

Re: [PATCH 1/5] ibmvscsi: Remove unnecessary map_sg check

2007-06-13 Thread Jeff Garzik
Brian King wrote: Since sg_tablesize is set appropriately in the scsi host template, remove the unnecessary check to make sure it is not exceeded following the dma_map_sg call. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6-bjking1/drivers/scsi/ibmvscsi/ibmvscsi.c |7 ---

Re: [PATCH 3/5] ibmvscsi: Add eh_host_reset_handler

2007-06-13 Thread Jeff Garzik
Brian King wrote: + spin_lock_irqsave(hostdata->host->host_lock, flags); + list_for_each_entry_safe(tmp_evt, pos, &hostdata->sent, list) { + list_del(&tmp_evt->list); + del_timer(&tmp_evt->timer); + if (tmp_evt->cmnd) { +

[PATCH 5/5] ibmvscsi: Abort path fix

2007-06-13 Thread Brian King
Since it is completely possible for scsi core to call a LLDD's eh_abort function after the command has completed, fix ibmvscsi to return SUCCESS if this is the case. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6-bjking1/drivers/scsi/ibmvscsi/ibmvscsi.c |2 +- 1 file changed,

[PATCH 4/5] ibmvscsi: Misc. locking fixes

2007-06-13 Thread Brian King
Fix a couple locking bugs discovered during code inspection. ibmvscsi_send_srp_event needs to be called with the host lock held. This patch fixes a couple paths in the code where this wasn't true. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6-bjking1/drivers/scsi/ibmvscsi/ibmvscsi

[PATCH 3/5] ibmvscsi: Add eh_host_reset_handler

2007-06-13 Thread Brian King
Adds an eh_host_reset_handler to ibmvscsi which resets the connection to the vscsi server. This patch also adds a timer to internally issues commands to prevent client hangs in the case of a misbehaving server. Tested by modifying the VIOS such that it would occasionally drop one or more request i

[PATCH 2/5] ibmvscsi: Enhanced error logging

2007-06-13 Thread Brian King
Converts ibmvscsi to use dev_printk and friends to simplify debugging. ibmvscsi adapter initialization now looks like this: ibmvscsi 3005: SRP_VERSION: 16.a ibmvscsi 3005: partner initialization complete ibmvscsi 3005: sent SRP login ibmvscsi 3005: SRP_LOGIN succeeded Additionall

[PATCH 1/5] ibmvscsi: Remove unnecessary map_sg check

2007-06-13 Thread Brian King
Since sg_tablesize is set appropriately in the scsi host template, remove the unnecessary check to make sure it is not exceeded following the dma_map_sg call. Signed-off-by: Brian King <[EMAIL PROTECTED]> --- linux-2.6-bjking1/drivers/scsi/ibmvscsi/ibmvscsi.c |7 --- 1 file changed, 7 d

Re: [patch 2a/3] Expose Power Management Policy option to users

2007-06-13 Thread Jeff Garzik
James Bottomley wrote: To take the model I understand: SAS; the links are managed at the phy level, so the power policy should be set there and thus should probably be a property of the phy object, which doesn't even exist in the SCSI model, it only exists in the transport class. It strikes me t

Re: qla2xxx errors? (2.6.19)

2007-06-13 Thread Csillag Tamas
On 06/12, Andrew Vasquez wrote: > Could you load the driver with the ql2xextended_error_logging module > parameter enabled: > > $ echo "6 4 1 7" > /proc/sys/kernel/printk > $ insmod qla2xxx.ko ql2xextended_error_logging=1 > > and forward over the resultant messages file beginning wit

Re: [patch 0/3] AHCI Link Power Management

2007-06-13 Thread Pavel Machek
Hi! > >> I'm not sure about this. We need better PM framework to support > >> powersaving in other controllers and some ahcis don't save much > >> when only link power management is used, > > > > do you have data to support this? > > Yeah, it was some Lenovo notebook. Pavel is more familiar w

Re: [patch 0/3] AHCI Link Power Management

2007-06-13 Thread Pavel Machek
Hi! > >Yeah, it was some Lenovo notebook. Pavel is more > >familiar with the > >hardware. Pavel, what was the notebook which didn't > >save much power > >with standard SATA power save but needed port to be > >completely turned off? > > Pavel, if you have time, could you measure this with >

[PATCH]: ESP reset bug fix

2007-06-13 Thread David Miller
James could you please push this bug fix from Thomas to Linus? Thanks a lot! [SCSI] ESP: Don't forget to clear ESP_FLAG_RESETTING. From: Thomas Bogendoerfer <[EMAIL PROTECTED]> esp_reset_cleanup() does everything necessary except clear the flag, so we never exit resetting state. Signed-off-by

Re: [patch 0/3] AHCI Link Power Management

2007-06-13 Thread Kristen Carlson Accardi
On Wed, 13 Jun 2007 11:04:30 +0200 Pavel Machek <[EMAIL PROTECTED]> wrote: > Hi! > > > >> I'm not sure about this. We need better PM framework to support > > >> powersaving in other controllers and some ahcis don't save much > > >> when only link power management is used, > > > > > > do you ha

RE: [PATCH] i2o: convert to use the data buffer accessors

2007-06-13 Thread Salyzyn, Mark
Since Markus removed himself from the maintenance of this driver ... I will offer my ACK if he is truly absent since this driver is apparently primarily in support of the legacy Babylon class of I2O adapters from DPT and Adaptec. Sincerely -- Mark Salyzyn > -Original Message- > From: [EMA

Re: scsi_cmnd accessors issues

2007-06-13 Thread FUJITA Tomonori
From: FUJITA Tomonori <[EMAIL PROTECTED]> Subject: Re: scsi_cmnd accessors issues Date: Wed, 13 Jun 2007 20:24:42 +0900 > > drivers/scsi/sym53c8xx_2/sym_glue.h > > drivers/scsi/sym53c8xx_2/sym_glue.c > > The patch was in my old bidi tree but seems that it's in neither > scsi-misc nor scsi-pending

[PATCH] i2o: convert to use the data buffer accessors

2007-06-13 Thread FUJITA Tomonori
- remove the unnecessary map_single path. - convert to use the new accessors for the sg lists and the parameters. Note: needs to change i2o_dma_map_sg when the chaining sg is ready. Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]> --- drivers/message/i2o/i2o_scsi.c | 24 +++-

Re: [patch 2a/3] Expose Power Management Policy option to users

2007-06-13 Thread James Bottomley
On Tue, 2007-06-12 at 10:46 -0700, Kristen Carlson Accardi wrote: > Expose Power Management Policy option to users > > This patch will modify the scsi subsystem to allow > users to set a power management policy for the link. > > The scsi subsystem will create a new sysfs file for each > host in /

RE: [PATCH] ips: convert to use the data buffer accessors

2007-06-13 Thread Salyzyn, Mark
ACK Sincerely -- Mark Salyzyn > -Original Message- > From: FUJITA Tomonori [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 13, 2007 10:27 AM > To: [EMAIL PROTECTED] > Cc: linux-scsi@vger.kernel.org; Salyzyn, Mark > Subject: [PATCH] ips: convert to use the data buffer accessors - To uns

Re: scsi_cmnd accessors issues

2007-06-13 Thread FUJITA Tomonori
From: Boaz Harrosh <[EMAIL PROTECTED]> Subject: scsi_cmnd accessors issues Date: Tue, 12 Jun 2007 21:02:20 +0300 Oops, I forgot to answer the status of lld conversion. > [2] > if I use __deprecated on request_buffer, request_bufflen, and use_sg with > scsi_sgtable implementation Than I get below

[PATCH] ips: convert to use the data buffer accessors

2007-06-13 Thread FUJITA Tomonori
Mark pointed out that the initial patch has problems in the breakup handling. This is an updated patch. --- >From 50d2daa783e6b323aeea30c9dddefba18f00f9e9 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori <[EMAIL PROTECTED]> Date: Tue, 12 Jun 2007 13:18:26 -0400 Subject: [PATCH] ips: convert to use t

blktrace for all SCSI devices

2007-06-13 Thread Christof Schmitt
As a follow-up to earlier discussions about adding statistics to the SCSI layer (http://lkml.org/lkml/2006/9/26/151), i am looking what data blktrace can provide. One problem is that blktrace currently can only get the trace data from block device files. This excludes retrieving trace data from ot

RE: scsi_cmnd accessors issues

2007-06-13 Thread FUJITA Tomonori
From: "Harrosh, Boaz" <[EMAIL PROTECTED]> Subject: RE: scsi_cmnd accessors issues Date: Wed, 13 Jun 2007 06:32:23 -0400 > From: FUJITA Tomonori [mailto:[EMAIL PROTECTED] > Sent: Tue 6/12/2007 7:51 PM > To: Harrosh, Boaz > Cc: linux-scsi@vger.kernel.org; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL

RE: scsi_cmnd accessors issues

2007-06-13 Thread Harrosh, Boaz
From: FUJITA Tomonori [mailto:[EMAIL PROTECTED] Sent: Tue 6/12/2007 7:51 PM To: Harrosh, Boaz Cc: linux-scsi@vger.kernel.org; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: scsi_cmnd accessors issues > From: Boaz Harrosh <[EMAIL PROTECTED]> > Subject: scsi_cmnd accessors is

Re: [patch 0/3] AHCI Link Power Management

2007-06-13 Thread Pavel Machek
Hi! > >> I'm not sure about this. We need better PM framework to support > >> powersaving in other controllers and some ahcis don't save much > >> when only link power management is used, > > > > do you have data to support this? > > Yeah, it was some Lenovo notebook. Pavel is more familiar w