Re: [PATCH -mmotm] scsi: fix the wrong position of the comment

2013-03-10 Thread Andrew Vasquez
On Sun, 10 Mar 2013, James Bottomley wrote: > On Sun, 2013-03-10 at 00:57 -0800, Andrew Morton wrote: > > On Sun, 10 Mar 2013 08:22:47 + James Bottomley > > wrote: > > > > > [missing SCSI cc added] > > > On Sun, 2013-03-10 at 17:09 +0900, Akinobu Mita wrote: > > > > This fixes the wrong posi

[PATCH V4 0/5] virtio-scsi multiqueue

2013-03-10 Thread Wanlong Gao
This series implements virtio-scsi queue steering, which gives performance improvements of up to 50% (measured both with QEMU and tcm_vhost backends). This version rebased on Rusty's virtio ring rework patches. We hope this can go into virtio-next together with the virtio ring rework pathes. V4:

[PATCH V4 2/5] virtio-scsi: pass struct virtio_scsi to virtqueue completion function

2013-03-10 Thread Wanlong Gao
From: Paolo Bonzini This will be needed soon in order to retrieve the per-target struct. Cc: linux-scsi@vger.kernel.org Signed-off-by: Paolo Bonzini Signed-off-by: Wanlong Gao --- drivers/scsi/virtio_scsi.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/

[PATCH V4 4/5] virtio-scsi: introduce multiqueue support

2013-03-10 Thread Wanlong Gao
From: Paolo Bonzini This patch adds queue steering to virtio-scsi. When a target is sent multiple requests, we always drive them to the same queue so that FIFO processing order is kept. However, if a target was idle, we can choose a queue arbitrarily. In this case the queue is chosen according

[PATCH V4 3/5] virtio-scsi: push vq lock/unlock into virtscsi_vq_done

2013-03-10 Thread Wanlong Gao
From: Paolo Bonzini Avoid duplicated code in all of the callers. Cc: linux-scsi@vger.kernel.org Signed-off-by: Paolo Bonzini Signed-off-by: Wanlong Gao --- drivers/scsi/virtio_scsi.c | 22 +- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/drivers/scsi/virti

[PATCH V4 1/5] virtio-scsi: redo allocation of target data

2013-03-10 Thread Wanlong Gao
From: Paolo Bonzini virtio_scsi_target_state is now empty, but we will find new uses for it in the next few patches. However, dropping the sglist lets us turn the array-of-pointers into a simple array, which simplifies the allocation. However, we do not leave the virtio_scsi_target_state struct

[PATCH V4 5/5] virtio-scsi: reset virtqueue affinity when doing cpu hotplug

2013-03-10 Thread Wanlong Gao
Add hot cpu notifier to reset the request virtqueue affinity when doing cpu hotplug. Cc: linux-scsi@vger.kernel.org Signed-off-by: Paolo Bonzini Signed-off-by: Wanlong Gao --- drivers/scsi/virtio_scsi.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/s

[LSF/MM TOPIC] Making sure soft SCSI Targets are Valid

2013-03-10 Thread ronnie sahlberg
Hi All I would like to attend LSF/MM and talk with people about scsi and iscsi testing. I am the author/maintainer for libiscsi which is userspace initiator used primarily by KVM/QEMU. This package also includes a pretty big test suite for mainly SCSI but also a lot of interesting iSCSI tests. A

[PATCH] aic7xxx: use kzalloc instead of kmalloc + memset

2013-03-10 Thread Silviu-Mihai Popescu
This replaces a call to kmalloc() followed by memset() with just one call to kzalloc(). This was found using make coccicheck. Signed-off-by: Silviu-Mihai Popescu --- drivers/scsi/aic7xxx/aic7xxx_core.c |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/scsi/a

Re: [PATCH -mmotm] scsi: fix the wrong position of the comment

2013-03-10 Thread James Bottomley
On Sun, 2013-03-10 at 00:57 -0800, Andrew Morton wrote: > On Sun, 10 Mar 2013 08:22:47 + James Bottomley > wrote: > > > [missing SCSI cc added] > > On Sun, 2013-03-10 at 17:09 +0900, Akinobu Mita wrote: > > > This fixes the wrong position of the comment introduced by > > > scsi-rename-random

Re: [PATCH -mmotm] scsi: fix the wrong position of the comment

2013-03-10 Thread Andrew Morton
On Sun, 10 Mar 2013 08:22:47 + James Bottomley wrote: > [missing SCSI cc added] > On Sun, 2013-03-10 at 17:09 +0900, Akinobu Mita wrote: > > This fixes the wrong position of the comment introduced by > > scsi-rename-random32-to-prandom_u32.patch in the -mm tree. > > > > Signed-off-by: Akino

Re: [PATCH -mmotm] scsi: fix the wrong position of the comment

2013-03-10 Thread James Bottomley
[missing SCSI cc added] On Sun, 2013-03-10 at 17:09 +0900, Akinobu Mita wrote: > This fixes the wrong position of the comment introduced by > scsi-rename-random32-to-prandom_u32.patch in the -mm tree. > > Signed-off-by: Akinobu Mita > Cc: "James E.J. Bottomley" > Cc: Andrew Vasquez > --- > dri