Re: hpsa driver bug crack kernel down!

2014-04-09 Thread Davidlohr Bueso
On Wed, 2014-04-09 at 22:03 -0600, Bjorn Helgaas wrote: > [+cc Joerg, iommu list] > > On Wed, Apr 9, 2014 at 6:19 PM, Davidlohr Bueso wrote: > > On Wed, 2014-04-09 at 16:50 -0700, James Bottomley wrote: > >> On Wed, 2014-04-09 at 16:40 -0700, Davidlohr Bueso wrote: > >> > On Wed, 2014-04-09 at 16

Re: hpsa driver bug crack kernel down!

2014-04-09 Thread Bjorn Helgaas
[+cc Joerg, iommu list] On Wed, Apr 9, 2014 at 6:19 PM, Davidlohr Bueso wrote: > On Wed, 2014-04-09 at 16:50 -0700, James Bottomley wrote: >> On Wed, 2014-04-09 at 16:40 -0700, Davidlohr Bueso wrote: >> > On Wed, 2014-04-09 at 16:10 -0700, James Bottomley wrote: >> > > On Wed, 2014-04-09 at 16:08

[PATCH] scsi: Make sure cmd_flags are 64-bit

2014-04-09 Thread Martin K. Petersen
From: "Martin K. Petersen" cmd_flags in struct request is now 64 bits wide but the scsi_execute functions truncated arguments passed to int leading to errors. Make sure the flags parameters are u64. Signed-off-by: Martin K. Petersen Cc: Jens Axboe CC: Jan Kara Cc: Frederic Weisbecker --- dr

[PATCH 1/6] qla4xxx: Disable INTx interrupt for ISP82XX

2014-04-09 Thread vikas.chaudhary
From: Tej Parkash Signed-off-by: Tej Parkash Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_isr.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/qla4xxx/ql4_isr.c b/drivers/scsi/qla4xxx/ql4_isr.c index b1925d1..081b6b7 100644 --- a/dr

[PATCH 6/6] qla4xxx: Update driver version to 5.04.00-k6

2014-04-09 Thread vikas.chaudhary
From: Vikas Chaudhary Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qla4xxx/ql4_version.h b/drivers/scsi/qla4xxx/ql4_version.h index bd78cb3..f11eaa7 100644 --- a/drivers/scsi/qla4xxx/ql4_v

[PATCH 0/6] qla4xxx: 5.04.00-k6: Updates for scsi "misc" branch

2014-04-09 Thread vikas.chaudhary
From: Vikas Chaudhary James, Please apply the following patches to the scsi tree at your earliest convenience. Adheer Chandravanshi (2): qla4xxx: Fix smatch warning in func qla4xxx_get_ep_param qla4xxx: Fix smatch warning in func qla4xxx_conn_get_param Nilesh Javali (2): qla

[PATCH 5/6] qla4xxx: Fix smatch warning in func qla4xxx_conn_get_param

2014-04-09 Thread vikas.chaudhary
From: Adheer Chandravanshi Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_os.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index 592f293..9eef7d4 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/q

[PATCH 2/6] qla4xxx: Export sysfs DDBs from DPC handler

2014-04-09 Thread vikas.chaudhary
From: Nilesh Javali Issue: modprobe qla4xxx is killed by systemd due to timeout. Solution: The exporting of sysfs DDBs from qla4xxx_probe_adapter added delay of approximately 15s due to which system-udevd killed the modprobe of the driver. Added fix to export the sysfs DDBs from the DPC handler.

[PATCH 4/6] qla4xxx: Fix smatch warning in func qla4xxx_get_ep_param

2014-04-09 Thread vikas.chaudhary
From: Adheer Chandravanshi Fix following smatch warning:- drivers/scsi/qla4xxx/ql4_os.c:1752 qla4xxx_get_ep_param() warn: variable dereferenced before check 'qla_ep' (see line 1745) Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_os.c | 6 +++--- 1 file changed, 3 insertions(+),

[PATCH 3/6] qla4xxx: Fix memory leak for ha->saved_acb

2014-04-09 Thread vikas.chaudhary
From: Nilesh Javali Signed-off-by: Vikas Chaudhary --- drivers/scsi/qla4xxx/ql4_mbx.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/qla4xxx/ql4_mbx.c b/drivers/scsi/qla4xxx/ql4_mbx.c index 1345c0e..0a3312c 100644 --- a/drivers/scsi/qla4xxx/ql4_mbx.c +++

Re: hpsa driver bug crack kernel down!

2014-04-09 Thread Davidlohr Bueso
On Wed, 2014-04-09 at 16:50 -0700, James Bottomley wrote: > On Wed, 2014-04-09 at 16:40 -0700, Davidlohr Bueso wrote: > > On Wed, 2014-04-09 at 16:10 -0700, James Bottomley wrote: > > > On Wed, 2014-04-09 at 16:08 -0700, James Bottomley wrote: > > > > [+linux-scsi] > > > > On Wed, 2014-04-09 at 15:

Re: hpsa driver bug crack kernel down!

2014-04-09 Thread James Bottomley
On Wed, 2014-04-09 at 16:40 -0700, Davidlohr Bueso wrote: > On Wed, 2014-04-09 at 16:10 -0700, James Bottomley wrote: > > On Wed, 2014-04-09 at 16:08 -0700, James Bottomley wrote: > > > [+linux-scsi] > > > On Wed, 2014-04-09 at 15:49 -0700, Davidlohr Bueso wrote: > > > > On Wed, 2014-04-09 at 10:39

Re: hpsa driver bug crack kernel down!

2014-04-09 Thread Davidlohr Bueso
On Wed, 2014-04-09 at 16:10 -0700, James Bottomley wrote: > On Wed, 2014-04-09 at 16:08 -0700, James Bottomley wrote: > > [+linux-scsi] > > On Wed, 2014-04-09 at 15:49 -0700, Davidlohr Bueso wrote: > > > On Wed, 2014-04-09 at 10:39 +0800, Baoquan He wrote: > > > > Hi, > > > > > > > > The kernel is

Re: hpsa driver bug crack kernel down!

2014-04-09 Thread James Bottomley
On Wed, 2014-04-09 at 16:08 -0700, James Bottomley wrote: > [+linux-scsi] > On Wed, 2014-04-09 at 15:49 -0700, Davidlohr Bueso wrote: > > On Wed, 2014-04-09 at 10:39 +0800, Baoquan He wrote: > > > Hi, > > > > > > The kernel is 3.14.0+ which is pulled just now. > > > > Cc'ing more people. > > >

Re: hpsa driver bug crack kernel down!

2014-04-09 Thread James Bottomley
[+linux-scsi] On Wed, 2014-04-09 at 15:49 -0700, Davidlohr Bueso wrote: > On Wed, 2014-04-09 at 10:39 +0800, Baoquan He wrote: > > Hi, > > > > The kernel is 3.14.0+ which is pulled just now. > > Cc'ing more people. > > While the hpsa driver appears to be involved in some way, I'm sure if > this

[PATCH] Update Maintainers for IBM Power 842, vscsi, and vfc drivers

2014-04-09 Thread Nathan Fontenot
Update the MAINTAINERS file to indicate the current maintainers for the IBM Power 842 Compression driver, IBM Power Virtual SCSI driver and the IBM Power Virtual FC Driver. Signed-off-by: Nathan Fontenot --- MAINTAINERS | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) I

Re: [PATCH 0/3] Fix USB deadlock caused by SCSI error handling

2014-04-09 Thread Alan Stern
On Wed, 9 Apr 2014, Hannes Reinecke wrote: > > I finally got a chance to try it out. It does seem to do what we want. > > I didn't track the flow of control in complete detail, but the command > > definitely got aborted both times it was issued. > > > Good, so it is as I thought. James, can we in

[Bug 71231] System unresponsable after a lot of LUNs have been added to the system

2014-04-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=71231 Hannes Reinecke changed: What|Removed |Added CC||h...@suse.de --- Comment #12 from Hanne

Re: [PATCH 0/3] Fix USB deadlock caused by SCSI error handling

2014-04-09 Thread Hannes Reinecke
On 04/07/2014 05:26 PM, Alan Stern wrote: On Wed, 2 Apr 2014, Hannes Reinecke wrote: On 04/01/2014 11:28 PM, Alan Stern wrote: On Tue, 1 Apr 2014, Hannes Reinecke wrote: So if the above reasoning is okay then this patch should be doing the trick: diff --git a/drivers/scsi/scsi_error.c b/dri

Re: [PATCH 3/4] blk-mq: move request structures into struct blk_mq_tags

2014-04-09 Thread Jens Axboe
On 03/31/2014 08:46 AM, Christoph Hellwig wrote: diff --git a/block/blk-mq.h b/block/blk-mq.h index 238379a..eca3a47 100644 --- a/block/blk-mq.h +++ b/block/blk-mq.h @@ -1,6 +1,24 @@ #ifndef INT_BLK_MQ_H #define INT_BLK_MQ_H +#include + +/* + * Tag address space map. + */ +struct blk_mq_tag

Re: blk-mq queue selection and queue_rq preemption

2014-04-09 Thread Jens Axboe
On 04/09/2014 06:10 AM, Sagi Grimberg wrote: On 4/8/2014 6:40 PM, Jens Axboe wrote: On 2014-04-08 05:10, Sagi Grimberg wrote: On 4/7/2014 10:45 PM, Jens Axboe wrote: On 04/07/2014 06:44 AM, Sagi Grimberg wrote: Hey Jens, Christoph & Co, I raised this question at LSF but didn't get a clear an

Re: [PATCH 1/6] virtio-scsi.h: Add virtio_scsi_cmd_req_pi + VIRTIO_SCSI_F_T10_PI bits

2014-04-09 Thread Michael S. Tsirkin
On Tue, Apr 08, 2014 at 04:31:26PM -0400, Paolo Bonzini wrote: > Il 07/04/2014 05:55, Michael S. Tsirkin ha scritto: > >>> + u16 do_pi_niov; /* DataOUT PI Number of iovecs */ > >>> + u16 di_pi_niov; /* DataIN PI Number of iovecs */ > >So this looks like a somewhat problematic interf

Re: blk-mq queue selection and queue_rq preemption

2014-04-09 Thread Sagi Grimberg
On 4/8/2014 6:40 PM, Jens Axboe wrote: On 2014-04-08 05:10, Sagi Grimberg wrote: On 4/7/2014 10:45 PM, Jens Axboe wrote: On 04/07/2014 06:44 AM, Sagi Grimberg wrote: Hey Jens, Christoph & Co, I raised this question at LSF but didn't get a clear answer on this matter. So it seems to me that th

Re: [PATCH] scsi: lpfc: lpfc_init: use kcalloc for allocating memory

2014-04-09 Thread Boaz Harrosh
On 04/08/2014 11:42 PM, Matei Oprea wrote: > It's easier to use kcalloc for allocating arrays. While at it > also remove useless casting value. > > Signed-off-by: Matei Oprea > Cc: ROSEdu Kernel Community > --- > drivers/scsi/lpfc/lpfc_init.c | 14 -- > 1 file changed, 8 insertions(

[Bug 71231] System unresponsable after a lot of LUNs have been added to the system

2014-04-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=71231 Alex changed: What|Removed |Added Kernel Version|3.10.32 |3.10 Regression|No

[Bug 71231] System unresponsable after a lot of LUNs have been added to the system

2014-04-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=71231 --- Comment #11 from Alex --- Does anyboy has any hitn how I can solve this problem? It occures with any server and any storage with kernel 3.10 and kernel 3.12. Using bisect has not given my any logical hint which patch might be the reason why i

[PATCH] [SCSI] use module_platform_driver()

2014-04-09 Thread Christoph Jaeger
Eliminate a bunch of boilerplate code by using module_platform_driver(). Signed-off-by: Christoph Jaeger --- drivers/scsi/jazz_esp.c | 13 + drivers/scsi/mac_esp.c| 13 + drivers/scsi/qlogicpti.c | 13 + drivers/scsi/sgiwd93.c| 13 + dri