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

2015-02-27 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 3/3] scsi: storvsc: Always send on the selected outgoing channel

2015-02-27 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 1/3] scsi: storvsc: Increase the ring buffer size

2015-02-27 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

[PATCH 0/3] scsi: storvsc: Some enhancements

2015-02-27 Thread K. Y. Srinivasan
While testing on some high latency storage backends, to get the advertised IOPS, we have to increase the size of the ringbuffer. Address this issue. K. Y. Srinivasan (3): scsi: storvsc: Increase the ring buffer size Scsi: storvsc: Size the queue depth based on the ringbuffer size scsi: storv

Re: [Lsf-pc] [LSF/MM TOPIC] Unifying the LIO and SCST target drivers

2015-02-27 Thread Nicholas A. Bellinger
On Wed, 2015-02-25 at 09:43 +0100, Bart Van Assche wrote: > On 02/21/15 01:00, Nicholas A. Bellinger wrote: > > On Fri, 2015-02-20 at 11:49 +0100, Bart Van Assche wrote: > >> What I proposed myself consists of three steps: > >> 1. Updating the LIO SRP target driver to a more recent version. > >> 2.

Re: [PATCH for kernel 4.1] Split SCSI header files

2015-02-27 Thread Nicholas A. Bellinger
On Wed, 2015-02-25 at 09:40 +0100, Bart Van Assche wrote: > Move the constants and functions that are used by both initiator and > target drivers into new header files. This change will allow to modify > the SCSI target code such that the initiator SCSI header files are no > longer included. Note:

[Bug 93951] New: Multipath hangs if Active Alua path stops responding (timeouts)

2015-02-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=93951 Bug ID: 93951 Summary: Multipath hangs if Active Alua path stops responding (timeouts) Product: IO/Storage Version: 2.5 Kernel Version: 3.10.0-123.el7.x86_64 Hardware: A

[PATCH -resend 1/1] bfs: bfad_worker cleanup

2015-02-27 Thread Jiri Slaby
This kthread is not loop at all due to break at the end of the loop. Make that function linear, with no while loop. And remove an unnecessary cast. Signed-off-by: Jiri Slaby --- drivers/scsi/bfa/bfad.c | 22 +- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/d

Re: [patch] tcm_fc: missing curly braces in ft_invl_hw_context()

2015-02-27 Thread Nicholas A. Bellinger
On Wed, 2015-02-25 at 16:21 +0300, Dan Carpenter wrote: > From the indenting, it looks like curly braces were intended here. > > Fixes: dcd998ccdbf7 ('tcm_fc: Handle DDP/SW fc_frame_payload_get failures in > ft_recv_write_data') > Signed-off-by: Dan Carpenter > > diff --git a/drivers/target/tcm

Re: crash in pscsi_get_device_type

2015-02-27 Thread Nicholas A. Bellinger
Hi Olaf, Thanks for your detailed bug report. Comments below. On Thu, 2015-02-26 at 10:26 +0100, Olaf Hering wrote: > While attempting to understand the Xen scsi backend driver I got this > crash using the script shown below: > > > [ 145.495887] Rounding down aligned max_sectors from 4294