Re: [PATCH] [RESEND] aic7xxx: replace kmalloc/memset by kzalloc

2015-03-23 Thread Hannes Reinecke
On 03/22/2015 05:31 PM, Michael Opdenacker wrote: > This replaces kmalloc + memset by a call to kzalloc > (or kcalloc when appropriate, which zeroes memory too) > > This also fixes one checkpatch.pl issue in the process. > > This improvement was suggested by "make coccicheck" > > Signed-off-by:

Re: iSCSI regression with linux 3.9 and 4.0

2015-03-23 Thread Christian Hesse
Christian Hesse on Fri, 2015/03/20 18:59: > Ewan Milne on Fri, 2015/03/20 11:46: > > On Fri, 2015-03-20 at 16:24 +0100, Christian Hesse wrote: > > > I found 'max_sectors_kb' which is inside in directory called 'queue'. Is > > > that the value you asked for? > > > > > > for 4.0 git: > > > > > >

Re: iSCSI regression with linux 3.9 and 4.0

2015-03-23 Thread Christian Hesse
Ewan Milne on Fri, 2015/03/20 11:04: > On Fri, 2015-03-20 at 15:31 +0100, Christian Hesse wrote: > > Ewan Milne on Fri, 2015/03/20 09:51: > > > On Fri, 2015-03-20 at 13:57 +0100, Christian Hesse wrote: > > > > Hello everybody! > > > > > > > > I reported this issue at LKML [0] but received no ans

Re: [PATCH 1/3] iscsi-target: Convert iscsi_thread_set usage to kthread.h

2015-03-23 Thread Sagi Grimberg
On 3/21/2015 8:16 AM, Nicholas A. Bellinger wrote: From: Nicholas Bellinger This patch converts iscsi-target code to use modern kthread.h API callers for creating RX/TX threads for each new iscsi_conn descriptor, and releasing associated RX/TX threads during connection shutdown. This is done u

Re: iSCSI regression with linux 3.9 and 4.0

2015-03-23 Thread Ewan Milne
On Mon, 2015-03-23 at 09:53 +0100, Christian Hesse wrote: > > I reverted these two commits: > > commit 3a9794d32984b67a6d8992226918618f0e51e5d5 > Author: Brian King > Date: Thu Jan 29 15:54:40 2015 -0600 > > sd: Fix max transfer length for 4k disks > > commit bcdb247c6b6a1f3e72b9b787b73f

laina

2015-03-23 Thread Skipton Financial Services®
hyvää päivää Nämä ovat Skipton Financial Services, tänään tarjoamme lainoja korolla 3%, meidän tyyppinen laina ovat: - yritysten lainoja, sisäisiä lainoja yksityishenkilöille lainat ja perhe lainoja. Jos olet kiinnostunut meidän Laina tarjous Täytä alla oleva lomake. Lainanottajien täydellin

Re: BUG: SCSI aic7xxx driver and AMD IOMMU

2015-03-23 Thread Joerg Roedel
Hi Mark, On Tue, Mar 03, 2015 at 02:36:19PM -0500, Mark Hounschell wrote: > It looks like this problem is NOT a bug with the SCSI aic7xxx driver > after all. I can duplicate this BUG very easily with other hardware. > Simply removing a driver module (whether it its self, has actually > used any o

Re: [PATCH v3 37/42] hpsa: use block layer tag for command allocation

2015-03-23 Thread Tomas Henzl
On 03/17/2015 09:06 PM, Don Brace wrote: > From: Webb Scales > > Rework slave allocation: > - separate the tagging support setup from the hostdata setup > - make the hostdata setup act consistently when the lookup fails > - make the hostdata setup act consistently when the device is not adde

[PATCH 0/7] scsi: storvsc: Miscellaneous enhancements and fixes

2015-03-23 Thread K. Y. Srinivasan
This patch-set addresses perf issues discovered on the Azure storage stack. These patches also fix a couple of bugs. K. Y. Srinivasan (7): scsi: storvsc: Increase the ring buffer size scsi: storvsc: Size the queue depth based on the ringbuffer size scsi: storvsc: Always send on the selected

[PATCH 5/7] scsi: storvsc: Fix a bug in copy_from_bounce_buffer()

2015-03-23 Thread K. Y. Srinivasan
We may exit this function without properly freeing up the maapings we may have acquired. Fix the bug. Signed-off-by: K. Y. Srinivasan Cc: --- drivers/scsi/storvsc_drv.c | 15 --- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/sc

[PATCH RESEND 3/7] scsi: storvsc: Always send on the selected outgoing channel

2015-03-23 Thread K. Y. Srinivasan
The current code always sent packets without data on the primary channel. Properly distribute sending of packets with no data amongst all available channels. I would like to thank Long Li for noticing this problem. Signed-off-by: K. Y. Srinivasan Reviewed-by: Long Li --- drivers/scsi/storvsc_dr

[PATCH V2 7/7] scsi: storvsc: Set the tablesize based on the information given by the host

2015-03-23 Thread K. Y. Srinivasan
Set the tablesize based on the information given by the host. Signed-off-by: K. Y. Srinivasan Reviewed-by: Long Li --- v2: Rebase the code and enable clustering drivers/scsi/storvsc_drv.c | 89 +++ 1 files changed, 64 insertions(+), 25 deletion

[PATCH 6/7] scsi: storvsc: Don't assume that the scatterlist is not chained

2015-03-23 Thread K. Y. Srinivasan
The current code assumes that the scatterlists presented are not chained. Fix the code to not make this assumption. Signed-off-by: K. Y. Srinivasan --- drivers/scsi/storvsc_drv.c | 98 +-- 1 files changed, 57 insertions(+), 41 deletions(-) diff --git a/

[PATCH RESEND 2/7] scsi: storvsc: Size the queue depth based on the ringbuffer size

2015-03-23 Thread K. Y. Srinivasan
Size the queue depth based on the ringbuffer size. Also accomodate for the fact that we could have multiple channels (ringbuffers) per adaptor. Signed-off-by: K. Y. Srinivasan Reviewed-by: Long Li --- drivers/scsi/storvsc_drv.c | 27 --- 1 files changed, 16 insertions(

[PATCH RESEND 4/7] scsi: storvsc: Retrieve information about the capability of the target

2015-03-23 Thread K. Y. Srinivasan
The storage protocol informs the guest of the I/O capabilities of the storage stack. Retrieve this information and use it in the guest. Signed-off-by: K. Y. Srinivasan Reviewed-by: Long Li --- drivers/scsi/storvsc_drv.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git

[PATCH RESEND 1/7] scsi: storvsc: Increase the ring buffer size

2015-03-23 Thread K. Y. Srinivasan
Increase the default ring buffer size as this can significantly improve performance especially on high latency storage back-ends. Signed-off-by: K. Y. Srinivasan Reviewed-by: Long Li --- drivers/scsi/storvsc_drv.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers

RE: [PATCH 6/7] scsi: storvsc: Don't assume that the scatterlist is not chained

2015-03-23 Thread Long Li
> -Original Message- > From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On > Behalf Of K. Y. Srinivasan > Sent: Monday, March 23, 2015 2:07 PM > To: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > de...@linuxdriverproject.org; oher...@suse.com; jbottom...@pa

RE: [PATCH 5/7] scsi: storvsc: Fix a bug in copy_from_bounce_buffer()

2015-03-23 Thread Long Li
> -Original Message- > From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On > Behalf Of K. Y. Srinivasan > Sent: Monday, March 23, 2015 2:07 PM > To: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > de...@linuxdriverproject.org; oher...@suse.com; jbottom...@pa

Re: [PATCH RESEND 2/7] scsi: storvsc: Size the queue depth based on the ringbuffer size

2015-03-23 Thread Venkatesh Srinivas
On Mon, Mar 23, 2015 at 2:06 PM, K. Y. Srinivasan wrote: > Size the queue depth based on the ringbuffer size. Also accomodate for the > fact that we could have multiple channels (ringbuffers) per adaptor. > > Signed-off-by: K. Y. Srinivasan > Reviewed-by: Long Li > --- > drivers/scsi/storvsc_dr

RE: [PATCH RESEND 2/7] scsi: storvsc: Size the queue depth based on the ringbuffer size

2015-03-23 Thread KY Srinivasan
> -Original Message- > From: Venkatesh Srinivas [mailto:venkate...@google.com] > Sent: Monday, March 23, 2015 5:23 PM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; Linux Kernel Developers List; > de...@linuxdriverproject.org; oher...@suse.com; James E.J. Bottomley; > Christoph Hel