Re: [PATCH] scsi: Set the minimum valid value of 'eh_deadline' as 0

2013-10-10 Thread Ren Mingxin
Hi, Ewan, Hannes: On 10/09/2013 08:28 PM, Ewan Milne wrote: On Wed, 2013-10-09 at 15:43 +0800, Ren Mingxin wrote: The former minimum valid value of 'eh_deadline' is 1s, which means the earliest occasion to shorten EH is 1 second later since a command is failed or timed out. But if we want to

Re: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

2013-10-10 Thread Alexander Gordeev
On Wed, Oct 09, 2013 at 03:24:08PM +1100, Benjamin Herrenschmidt wrote: On Tue, 2013-10-08 at 20:55 -0700, H. Peter Anvin wrote: Why not add a minimum number to pci_enable_msix(), i.e.: pci_enable_msix(pdev, msix_entries, nvec, minvec) ... which means nvec is the number of interrupts

[PATCH 0/10] IB SRP initiator patches for kernel 3.12

2013-10-10 Thread Bart Van Assche
The purpose of this InfiniBand SRP initiator patch series is as follows: - Make the SRP initiator driver better suited for use in a H.A. setup. Add fast_io_fail_tmo, dev_loss_tmo and reconnect_delay parameters. With the default values of these parameters failover happens significantly

[PATCH 02/10] IB/srp: Keep rport as long as the IB transport layer

2013-10-10 Thread Bart Van Assche
Keep the rport data structure around after srp_remove_host() has finished until cleanup of the IB transport layer has finished completely. This is necessary because later patches use the rport pointer inside the queuecommand callback. Without this patch accessing the rport from inside a

[PATCH 03/10] scsi_transport_srp: Add transport layer error handling

2013-10-10 Thread Bart Van Assche
Add the necessary functions in the SRP transport module to allow an SRP initiator driver to implement transport layer error handling similar to the functionality already provided by the FC transport layer. This includes: - Support for implementing fast_io_fail_tmo, the time that should elapse

[PATCH 06/10] scsi_transport_srp: Add periodic reconnect support

2013-10-10 Thread Bart Van Assche
Add support for periodically reconnecting to an SRP target until the dev_loss timer expires. After the tenth reconnection attempt, gradually slow down subsequent reconnect attempts. Signed-off-by: Bart Van Assche bvanass...@acm.org Cc: David Dillow dillo...@ornl.gov Cc: Roland Dreier

Re: [PATCH RFC 50/77] mlx5: Update MSI/MSI-X interrupts enablement code

2013-10-10 Thread Eli Cohen
On Thu, Oct 03, 2013 at 09:48:39PM +0200, Alexander Gordeev wrote: pci_enable_msix() may fail, but it can not return a positive number. That is true according to the current logic but the comment on top of pci_enable_msix() still says: A return of 0 indicates a failure. Or a return of 0

[PATCH 1/8] lpfc 8.3.43: Fix crash after xri limit is reached.

2013-10-10 Thread James Smart
Fix crash after xri limit is reached. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_scsi.c | 19 --- lpfc_sli4.h |1 + 2 files changed, 13 insertions(+), 7 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c ---

[PATCH 2/8] lpfc 8.3.43: Fixed spinlock inversion problem.

2013-10-10 Thread James Smart
Fixed spinlock inversion problem. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_sli.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c --- a/drivers/scsi/lpfc/lpfc_sli.c 2013-10-09

[PATCH 3/8] lpfc 8.3.43: Fixed invalid mailbox timeouts

2013-10-10 Thread James Smart
Fixed invalid mailbox timeouts Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_sli.c | 112 + 1 file changed, 112 insertions(+) diff -upNr a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c ---

[PATCH 5/8] lpfc 8.3.43: Fixed invalid Total_Data_Placed value received for els and ct command responses

2013-10-10 Thread James Smart
Fixed invalid Total_Data_Placed value received for els and ct command responses Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_hw4.h |6 -- lpfc_sli.c | 38 -- 2 files changed, 40 insertions(+), 4 deletions(-) diff -upNr

[PATCH 4/8] lpfc 8.3.43: Fixed invalid fcp_rsp length fir FCP_ICMND

2013-10-10 Thread James Smart
Fixed invalid fcp_rsp length fir FCP_ICMND Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_hw4.h | 24 +--- lpfc_sli.c | 19 ++- 2 files changed, 35 insertions(+), 8 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_hw4.h

[PATCH 6/8] lpfc 8.3.43: Fixed spinlock hang.

2013-10-10 Thread James Smart
Fixed spinlock hang. Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_hbadisc.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff -upNr a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c --- a/drivers/scsi/lpfc/lpfc_hbadisc.c 2013-10-09

[PATCH 7/8] lpfc 8.3.43: Fixed not processing task management IOCB response status

2013-10-10 Thread James Smart
Fixed not processing task management IOCB response status This patch implements the changes requested by Jeremy Linton: http://marc.info/?l=linux-scsim=136242124409687w=2 The patch revises the command issuing behavior, detecting cases where the Task Mgmt command may have completed but with a

[PATCH 8/8] lpfc 8.3.43: Update lpfc version to driver version 8.3.43

2013-10-10 Thread James Smart
Update lpfc version to driver version 8.3.43 Signed-off-by: James Smart james.sm...@emulex.com --- lpfc_version.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -upNr a/drivers/scsi/lpfc/lpfc_version.h b/drivers/scsi/lpfc/lpfc_version.h --- a/drivers/scsi/lpfc/lpfc_version.h

[PATCH 0/8] lpfc 8.3.43: Update lpfc to revision 8.3.43

2013-10-10 Thread James Smart
This patch set updates the lpfc driver to revision 8.3.43 The patches for 8.3.43 contain: - Fix crash after xri limit is reached. - Fixed spinlock inversion problem. - Fixed invalid mailbox timeouts - Fixed invalid fcp_rsp length fir FCP_ICMND - Fixed invalid Total_Data_Placed value received for

Re: [PATCH 07/10] hpsa: hide logical drives with format in progress from linux

2013-10-10 Thread scameron
On Fri, Sep 27, 2013 at 08:34:51AM -0500, scame...@beardog.cce.hp.com wrote: On Fri, Sep 27, 2013 at 03:22:19PM +0200, Tomas Henzl wrote: On 09/23/2013 08:34 PM, Stephen M. Cameron wrote: From: Stephen M. Cameron scame...@beardog.cce.hp.com SCSI mid layer doesn't seem to handle logical

Re: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

2013-10-10 Thread H. Peter Anvin
On 10/10/2013 03:17 AM, Alexander Gordeev wrote: On Wed, Oct 09, 2013 at 03:24:08PM +1100, Benjamin Herrenschmidt wrote: Ok, this suggestion sounded in one or another form by several people. What about name it pcim_enable_msix_range() and wrap in couple more helpers to complete an API:

[Bug 62811] New: Don't Modify the scsi subcmd as LUN value when using VENDOR cmd

2013-10-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=62811 Bug ID: 62811 Summary: Don't Modify the scsi subcmd as LUN value when using VENDOR cmd Product: SCSI Drivers Version: 2.5 Kernel Version: 3.12rc4 Hardware: All

Re: [Bug 62811] New: Don't Modify the scsi subcmd as LUN value when using VENDOR cmd

2013-10-10 Thread James Bottomley
On Thu, 2013-10-10 at 17:22 +, bugzilla-dae...@bugzilla.kernel.org wrote: https://bugzilla.kernel.org/show_bug.cgi?id=62811 Bug ID: 62811 Summary: Don't Modify the scsi subcmd as LUN value when using VENDOR cmd Product: SCSI Drivers

Re: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

2013-10-10 Thread Alexander Gordeev
On Thu, Oct 10, 2013 at 09:28:27AM -0700, H. Peter Anvin wrote: On 10/10/2013 03:17 AM, Alexander Gordeev wrote: On Wed, Oct 09, 2013 at 03:24:08PM +1100, Benjamin Herrenschmidt wrote: Ok, this suggestion sounded in one or another form by several people. What about name it

Re: scsi-mq updated to latest linux-block/new-queue

2013-10-10 Thread Christoph Hellwig
What is the criteria for patches to include in your tree? I would suggest to consider this one https://lkml.org/lkml/2013/8/9/90 if it fits. For this one you probably want to send a patch to Jens to move blk-mq-tag.h to include/linux first instead of doing the relative include hack. Also the

Re: scsi-mq updated to latest linux-block/new-queue

2013-10-10 Thread Alexander Gordeev
On Thu, Oct 10, 2013 at 09:17:14PM +0200, Christoph Hellwig wrote: What is the criteria for patches to include in your tree? I would suggest to consider this one https://lkml.org/lkml/2013/8/9/90 if it fits. For this one you probably want to send a patch to Jens to move blk-mq-tag.h to

Re: mpt2sas,mpt3sas watchdog device removal

2013-10-10 Thread Bjorn Helgaas
On Fri, May 17, 2013 at 3:42 PM, Joe Lawrence joe.lawre...@stratus.com wrote: On Fri, 17 May 2013 09:29:06 -0600 Bjorn Helgaas bhelg...@google.com wrote: [+cc linux-pci] On Wed, May 15, 2013 at 11:29 AM, Joe Lawrence joe.lawre...@stratus.com wrote: From

Re: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

2013-10-10 Thread Mark Lord
Just to help us all understand the loop issue.. Here's an example of driver code which uses the existing MSI-X interfaces, for a device which can work with either 16, 8, 4, 2, or 1 MSI-X interrupt. This is from a new driver I'm working on right now: static int xx_alloc_msix_irqs (struct xx_dev

Re: [PATCH v2] ufs: adjust queue settings to PRDT limitations

2013-10-10 Thread vinayak holikatti
On Wed, Sep 25, 2013 at 7:17 PM, Akinobu Mita m...@fixstars.com wrote: The data byte count field of PRDT indicates the length of data block which is a segment of data transfer for SCSI commands. The value of this field shall have Dword granularity and the the maximum of length is 256KB.