[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 christophjae...@linux.com --- drivers/scsi/jazz_esp.c | 13 + drivers/scsi/mac_esp.c| 13 + drivers/scsi/qlogicpti.c | 13 + drivers/scsi/sgiwd93.c

[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 alexandernaum...@gmx.de --- 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

[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 alexandernaum...@gmx.de changed: What|Removed |Added Kernel Version|3.10.32 |3.10 Regression|No

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

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 interface to me

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

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 linux/percpu_ida.h + +/* + * Tag address space map. + */

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

[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 h...@suse.de changed: What|Removed |Added CC||h...@suse.de --- Comment

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 include

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 is a

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. While the hpsa

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 3.14.0+ which is

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 +0800,

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:49 -0700,

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

2014-04-09 Thread vikas.chaudhary
From: Nilesh Javali nilesh.jav...@qlogic.com Signed-off-by: Vikas Chaudhary vikas.chaudh...@qlogic.com --- 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

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

2014-04-09 Thread vikas.chaudhary
From: Adheer Chandravanshi adheer.chandravan...@qlogic.com 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 vikas.chaudh...@qlogic.com ---

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

2014-04-09 Thread vikas.chaudhary
From: Nilesh Javali nilesh.jav...@qlogic.com 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

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

2014-04-09 Thread vikas.chaudhary
From: Adheer Chandravanshi adheer.chandravan...@qlogic.com Signed-off-by: Vikas Chaudhary vikas.chaudh...@qlogic.com --- 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

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

2014-04-09 Thread vikas.chaudhary
From: Vikas Chaudhary vikas.chaudh...@qlogic.com Signed-off-by: Vikas Chaudhary vikas.chaudh...@qlogic.com --- 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

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

2014-04-09 Thread vikas.chaudhary
From: Vikas Chaudhary vikas.chaudh...@qlogic.com 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

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

2014-04-09 Thread vikas.chaudhary
From: Tej Parkash tej.park...@qlogic.com Signed-off-by: Tej Parkash tej.park...@qlogic.com Signed-off-by: Vikas Chaudhary vikas.chaudh...@qlogic.com --- drivers/scsi/qla4xxx/ql4_isr.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/qla4xxx/ql4_isr.c

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

2014-04-09 Thread Martin K. Petersen
From: Martin K. Petersen martin.peter...@oracle.com 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 martin.peter...@oracle.com Cc: Jens