Hello Christoffer,
On Fri, Aug 28, 2015 at 2:30 AM, Christoffer Dall
wrote:
> On Thu, Aug 27, 2015 at 10:23:38AM -0400, Christopher Covington wrote:
>> On 07/24/2015 08:00 AM, Matt Ma wrote:
>> > Hi all,
>> >
>> > Linaro has developed the foundation for the new Android Emulator code
>> > base
Hello Christoffer,
On Fri, Aug 28, 2015 at 2:30 AM, Christoffer Dall
christoffer.d...@linaro.org wrote:
On Thu, Aug 27, 2015 at 10:23:38AM -0400, Christopher Covington wrote:
On 07/24/2015 08:00 AM, Matt Ma wrote:
Hi all,
Linaro has developed the foundation for the new Android Emulator
t; independent results.
I'd love to run the test but I do not have fast devices around. It would
be nice if Nick can give a try ;-)
1) Set .nr_hw_queues to 1 instead 4 for now.
2) Drop some more unused code in the other mail I sent
Otherwise, feel free to add:
Acked-by: Asias He
> --
>
to have
independent results.
I'd love to run the test but I do not have fast devices around. It would
be nice if Nick can give a try ;-)
1) Set .nr_hw_queues to 1 instead 4 for now.
2) Drop some more unused code in the other mail I sent
Otherwise, feel free to add:
Acked-by: Asias He as...@redhat.com
irtio-scsi DMA_TO_DEVICE -> WRITE payload case.
>
> This bug would manifest itself as random process segmentation faults on
> KVM host after repeated vhost starts + stops and/or with lots of vhost
> endpoints + LUNs.
>
> Cc: Stefan Hajnoczi
> Cc: Michael S. Tsirkin
- WRITE payload case.
This bug would manifest itself as random process segmentation faults on
KVM host after repeated vhost starts + stops and/or with lots of vhost
endpoints + LUNs.
Cc: Stefan Hajnoczi stefa...@redhat.com
Cc: Michael S. Tsirkin m...@redhat.com
Cc: Asias He
On Fri, Oct 25, 2013 at 06:05:01AM -0700, Christoph Hellwig wrote:
> Switch virtio-blk from the dual support for old-style requests and bios
> to use the block-multiqueue. For now pretend to have 4 issue queues
> as Jens pulled that out of his this hair and it worked.
>
> Signed-off-by: Jens
On Fri, Oct 25, 2013 at 06:05:01AM -0700, Christoph Hellwig wrote:
Switch virtio-blk from the dual support for old-style requests and bios
to use the block-multiqueue. For now pretend to have 4 issue queues
as Jens pulled that out of his this hair and it worked.
Signed-off-by: Jens Axboe
AT
> to kzalloc() flags to do this fallback only when really needed.
>
> Reported-by: Dan Aloni
> Signed-off-by: Michael S. Tsirkin
Reviewed-by: Asias He
> ---
>
> I put this on my vhost fixes branch, intend to merge for 3.12.
> Dan, could you please confirm this works f
to do this fallback only when really needed.
Reported-by: Dan Aloni alo...@stratoscale.com
Signed-off-by: Michael S. Tsirkin m...@redhat.com
Reviewed-by: Asias He as...@redhat.com
---
I put this on my vhost fixes branch, intend to merge for 3.12.
Dan, could you please confirm this works
- Update to percpu-ida usage
>
> Cc: Kent Overstreet
> Cc: Asias He
> Cc: Michael S. Tsirkin
> Signed-off-by: Nicholas Bellinger
Reviewed-by: Asias He
> ---
> drivers/target/target_core_transport.c | 48
>
> include/target/ta
_make_nexus() code.
>
> This includes sanity checks within vhost_scsi_map_to_sgl()
> to reject I/O that exceeds these initial hardcoded values, and
> the necessary cleanup in tcm_vhost_make_nexus() failure path +
> tcm_vhost_drop_nexus().
>
> v3 changes:
> - Rebase to v3.11-rc5 code
&
...@redhat.com
Cc: Asias He as...@redhat.com
Cc: Kent Overstreet k...@daterainc.com
Signed-off-by: Nicholas Bellinger n...@linux-iscsi.org
Reviewed-by: Asias He as...@redhat.com
---
drivers/vhost/scsi.c | 99
--
1 files changed, 80 insertions(+), 19
k...@daterainc.com
Cc: Asias He as...@redhat.com
Cc: Michael S. Tsirkin m...@redhat.com
Signed-off-by: Nicholas Bellinger n...@linux-iscsi.org
Reviewed-by: Asias He as...@redhat.com
---
drivers/target/target_core_transport.c | 48
include/target
Hello Sudeep Dutt,
On Wed, Jul 31, 2013 at 06:46:08PM -0700, Greg Kroah-Hartman wrote:
> On Wed, Jul 24, 2013 at 08:31:31PM -0700, Sudeep Dutt wrote:
> > An Intel MIC X100 device is a PCIe form factor add-in coprocessor
> > card based on the Intel Many Integrated Core (MIC) architecture
> > that
Hello Sudeep Dutt,
On Wed, Jul 31, 2013 at 06:46:08PM -0700, Greg Kroah-Hartman wrote:
On Wed, Jul 24, 2013 at 08:31:31PM -0700, Sudeep Dutt wrote:
An Intel MIC X100 device is a PCIe form factor add-in coprocessor
card based on the Intel Many Integrated Core (MIC) architecture
that runs a
l, causing us to lose RX events.
> >
> > To fix, call virtqueue_enable_cb_prepare with NAPI_STATE_SCHED
> > set (under napi lock), later call virtqueue_poll with
> > NAPI_STATE_SCHED clear (outside the lock).
> >
> > Reported-by: Jason Wang
> > Signed-off
means we might be able to get rid of a
> barrier here. Deferring this optimization until we do some
> benchmarking.
>
> Signed-off-by: Michael S. Tsirkin
Acked-by: Asias He
> ---
> drivers/virtio/virtio_ring.c | 56
> ++--
be able to get rid of a
barrier here. Deferring this optimization until we do some
benchmarking.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
Acked-by: Asias He as...@redhat.com
---
drivers/virtio/virtio_ring.c | 56
++--
include/linux/virtio.h
napi lock), later call virtqueue_poll with
NAPI_STATE_SCHED clear (outside the lock).
Reported-by: Jason Wang jasow...@redhat.com
Signed-off-by: Michael S. Tsirkin m...@redhat.com
Acked-by: Asias He as...@redhat.com
---
Tested-by: Jason Wang jasow...@redhat.com
Acked-by: Jason Wang
uling a refill work which can guarantee the
> serialization of refill.
>
> Cc: Sasha Levin
> Cc: Rusty Russell
> Cc: Michael S. Tsirkin
> Signed-off-by: Jason Wang
Reviewed-by: Asias He
> ---
> drivers/net/virtio_net.c |5 +
> 1 files changed, 1 insertio
the
serialization of refill.
Cc: Sasha Levin sasha.le...@oracle.com
Cc: Rusty Russell ru...@rustcorp.com.au
Cc: Michael S. Tsirkin m...@redhat.com
Signed-off-by: Jason Wang jasow...@redhat.com
Reviewed-by: Asias He as...@redhat.com
---
drivers/net/virtio_net.c |5 +
1 files changed, 1
fter passing it
> to vhost_net_ubuf_put_and_wait, this results
> in use after free.
> To fix, don't free the argument in vhost_net_ubuf_put_and_wait,
> add an new API for callers that want to free ubufs.
>
> Signed-off-by: Michael S. Tsirkin
Acked-by: Asias He
> ---
>
>
it
to vhost_net_ubuf_put_and_wait, this results
in use after free.
To fix, don't free the argument in vhost_net_ubuf_put_and_wait,
add an new API for callers that want to free ubufs.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
Acked-by: Asias He as...@redhat.com
---
Dave, this is needed for stable
On Fri, May 17, 2013 at 04:25:49PM +0930, Rusty Russell wrote:
> Randy Dunlap writes:
> > On 05/16/13 16:42, Rusty Russell wrote:
> >> Joe Perches writes:
> >>> On Thu, 2013-05-16 at 13:04 +0930, Rusty Russell wrote:
> >>>> Asias He writes:
>
On Fri, May 17, 2013 at 04:25:49PM +0930, Rusty Russell wrote:
Randy Dunlap rdun...@infradead.org writes:
On 05/16/13 16:42, Rusty Russell wrote:
Joe Perches j...@perches.com writes:
On Thu, 2013-05-16 at 13:04 +0930, Rusty Russell wrote:
Asias He as...@redhat.com writes:
On Wed, May 15
On Thu, May 16, 2013 at 01:04:58PM +0930, Rusty Russell wrote:
> Asias He writes:
> > On Wed, May 15, 2013 at 02:47:53PM +0930, Rusty Russell wrote:
> >> Asias He writes:
> >> > scsi.c includes vhost.c which uses memcpy_fromiovec.
> >> >
On Thu, May 16, 2013 at 09:05:38AM +0930, Rusty Russell wrote:
> "Nicholas A. Bellinger" writes:
> > On Wed, 2013-05-15 at 14:47 +0930, Rusty Russell wrote:
> >> Asias He writes:
> >> > scsi.c includes vhost.c which uses memcpy_fromiovec.
> >
On Wed, May 15, 2013 at 02:47:53PM +0930, Rusty Russell wrote:
> Asias He writes:
> > scsi.c includes vhost.c which uses memcpy_fromiovec.
> >
> > This patch fixes this build failure.
> >
> >From Randy Dunlap:
> >'''
> >on x86_64:
> &
On Wed, May 15, 2013 at 03:37:30PM -0700, Nicholas A. Bellinger wrote:
> On Wed, 2013-05-15 at 14:47 +0930, Rusty Russell wrote:
> > Asias He writes:
> > > scsi.c includes vhost.c which uses memcpy_fromiovec.
> > >
> > > This patch fixes this build failu
On Thu, May 16, 2013 at 01:04:58PM +0930, Rusty Russell wrote:
Asias He as...@redhat.com writes:
On Wed, May 15, 2013 at 02:47:53PM +0930, Rusty Russell wrote:
Asias He as...@redhat.com writes:
scsi.c includes vhost.c which uses memcpy_fromiovec.
This patch fixes this build failure
On Wed, May 15, 2013 at 03:37:30PM -0700, Nicholas A. Bellinger wrote:
On Wed, 2013-05-15 at 14:47 +0930, Rusty Russell wrote:
Asias He as...@redhat.com writes:
scsi.c includes vhost.c which uses memcpy_fromiovec.
This patch fixes this build failure.
From Randy Dunlap
On Wed, May 15, 2013 at 02:47:53PM +0930, Rusty Russell wrote:
Asias He as...@redhat.com writes:
scsi.c includes vhost.c which uses memcpy_fromiovec.
This patch fixes this build failure.
From Randy Dunlap:
'''
on x86_64:
ERROR: memcpy_fromiovec [drivers/vhost
On Thu, May 16, 2013 at 09:05:38AM +0930, Rusty Russell wrote:
Nicholas A. Bellinger n...@linux-iscsi.org writes:
On Wed, 2013-05-15 at 14:47 +0930, Rusty Russell wrote:
Asias He as...@redhat.com writes:
scsi.c includes vhost.c which uses memcpy_fromiovec.
This patch fixes this build
On Tue, May 14, 2013 at 08:10:20PM -0700, Nicholas A. Bellinger wrote:
> On Wed, 2013-05-15 at 08:59 +0800, Asias He wrote:
> > scsi.c includes vhost.c which uses memcpy_fromiovec.
> >
> > This patch fixes this build failure.
> >
> >From Randy Du
Reported-by: Randy Dunlap
Signed-off-by: Asias He
---
drivers/vhost/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/vhost/Kconfig b/drivers/vhost/Kconfig
index 8b9226d..0403323 100644
--- a/drivers/vhost/Kconfig
+++ b/drivers/vhost/Kconfig
@@ -12,7 +12,7 @@ config
-by: Randy Dunlap rdun...@infradead.org
Signed-off-by: Asias He as...@redhat.com
---
drivers/vhost/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/vhost/Kconfig b/drivers/vhost/Kconfig
index 8b9226d..0403323 100644
--- a/drivers/vhost/Kconfig
+++ b/drivers/vhost/Kconfig
On Tue, May 14, 2013 at 08:10:20PM -0700, Nicholas A. Bellinger wrote:
On Wed, 2013-05-15 at 08:59 +0800, Asias He wrote:
scsi.c includes vhost.c which uses memcpy_fromiovec.
This patch fixes this build failure.
From Randy Dunlap:
'''
on x86_64:
ERROR
On Mon, May 06, 2013 at 01:37:34PM +0300, Michael S. Tsirkin wrote:
> There's no net specific code in vhost.c anymore,
> don't include the virtio_net.h header.
Did you push the it to your tree. I am not seeing it.
> Signed-off-by: Michael S. Tsirkin
> ---
>
> This is on top of Asias' patches,
On Mon, May 06, 2013 at 01:37:34PM +0300, Michael S. Tsirkin wrote:
> There's no net specific code in vhost.c anymore,
> don't include the virtio_net.h header.
>
> Signed-off-by: Michael S. Tsirkin
Reviewed-by: Asias He
> ---
>
> This is on top of Asias' patches, already
On Mon, May 06, 2013 at 01:37:34PM +0300, Michael S. Tsirkin wrote:
There's no net specific code in vhost.c anymore,
don't include the virtio_net.h header.
Did you push the it to your tree. I am not seeing it.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
This is on top of Asias'
On Mon, May 06, 2013 at 01:37:34PM +0300, Michael S. Tsirkin wrote:
There's no net specific code in vhost.c anymore,
don't include the virtio_net.h header.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
Reviewed-by: Asias He as...@redhat.com
---
This is on top of Asias' patches
Tsirkin
Reviewed-by: Asias He
>
> Michael S. Tsirkin (3):
> vhost: src file renames
> tcm_vhost: header split up
> vhost_scsi: module rename
>
> drivers/vhost/Kconfig | 10 ++-
> drivers/vhost/Kconfig.tcm | 6 --
> drivers/vhos
Reviewed-by: Asias He as...@redhat.com
Michael S. Tsirkin (3):
vhost: src file renames
tcm_vhost: header split up
vhost_scsi: module rename
drivers/vhost/Kconfig | 10 ++-
drivers/vhost/Kconfig.tcm | 6 --
drivers/vhost/Makefile| 3
to MISC_DYNAMIC_MINOR before we
register.
Cc: "David S. Miller"
Cc: Andy King
Cc: Dmitry Torokhov
Cc: Reilly Grant
Cc: net...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Asias He
---
net/vmw_vsock/af_vsock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
to MISC_DYNAMIC_MINOR before we
register.
Cc: David S. Miller da...@davemloft.net
Cc: Andy King ack...@vmware.com
Cc: Dmitry Torokhov d...@vmware.com
Cc: Reilly Grant gra...@vmware.com
Cc: net...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Asias He as...@redhat.com
---
net
On Sat, Apr 06, 2013 at 09:40:13AM +0100, James Bottomley wrote:
> On Fri, 2013-04-05 at 16:55 +0800, Wanlong Gao wrote:
> > On 03/28/2013 10:22 AM, Wanlong Gao wrote:
> > > On 03/23/2013 07:28 PM, Wanlong Gao wrote:
> > >> This series implements virtio-scsi queue steering, which gives
> > >>
On Sat, Apr 06, 2013 at 09:40:13AM +0100, James Bottomley wrote:
On Fri, 2013-04-05 at 16:55 +0800, Wanlong Gao wrote:
On 03/28/2013 10:22 AM, Wanlong Gao wrote:
On 03/23/2013 07:28 PM, Wanlong Gao wrote:
This series implements virtio-scsi queue steering, which gives
performance
nd no need to pass in the maximum target size as a parameter because
> everything should now happen dynamically.
>
> Cc: James Bottomley
> Cc: linux-s...@vger.kernel.org
> Signed-off-by: Paolo Bonzini
> Signed-off-by: Wanlong Gao
Reviewed-by:
On Wed, Mar 20, 2013 at 03:01:24PM +0800, Wanlong Gao wrote:
> Add hot cpu notifier to reset the request virtqueue affinity
> when doing cpu hotplug.
>
> Cc: linux-s...@vger.kernel.org
> Signed-off-by: Paolo Bonzini
> Signed-off-by: Wanlong Gao
> Reviewed-by: Asias He
-by: Asias He as...@redhat.com
---
drivers/scsi/virtio_scsi.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/drivers/scsi/virtio_scsi.c b/drivers/scsi/virtio_scsi.c
index 13d7672..0ad9017 100644
--- a/drivers/scsi/virtio_scsi.c
+++ b/drivers/scsi
as a parameter because
everything should now happen dynamically.
Cc: James Bottomley james.bottom...@hansenpartnership.com
Cc: linux-s...@vger.kernel.org
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Wanlong Gao gaowanl...@cn.fujitsu.com
Reviewed-by: Asias He as...@redhat.com
vq lock/unlock into virtscsi_vq_done
> virtio-scsi: introduce multiqueue support
>
> Wanlong Gao (1):
> virtio-scsi: reset virtqueue affinity when doing cpu hotplug
>
> drivers/scsi/virtio_scsi.c | 364
> -
> 1 file changed, 2
On Mon, Mar 11, 2013 at 10:43:58AM +0800, Wanlong Gao wrote:
> 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
On Mon, Mar 11, 2013 at 10:43:58AM +0800, Wanlong Gao wrote:
From: Paolo Bonzini pbonz...@redhat.com
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
Wanlong Gao (1):
virtio-scsi: reset virtqueue affinity when doing cpu hotplug
drivers/scsi/virtio_scsi.c | 364
-
1 file changed, 291 insertions(+), 73 deletions(-)
--
1.8.2.rc2
Patch 2-5
Reviewed-by: Asias He as...@redhat.com
--
Asias
On Mon, Mar 18, 2013 at 11:30:47PM +, Ben Hutchings wrote:
> On Mon, 2013-03-18 at 14:00 -0700, Nicholas A. Bellinger wrote:
> > On Mon, 2013-03-18 at 13:35 +0800, Asias He wrote:
> > > On Sat, Mar 16, 2013 at 02:10:22AM +, Ben Hutchings wrote:
> > > > On
On Mon, Mar 18, 2013 at 11:30:47PM +, Ben Hutchings wrote:
On Mon, 2013-03-18 at 14:00 -0700, Nicholas A. Bellinger wrote:
On Mon, 2013-03-18 at 13:35 +0800, Asias He wrote:
On Sat, Mar 16, 2013 at 02:10:22AM +, Ben Hutchings wrote:
On Tue, 2013-03-12 at 15:44 -0700, Greg Kroah
On Sat, Mar 16, 2013 at 02:10:22AM +, Ben Hutchings wrote:
> On Tue, 2013-03-12 at 15:44 -0700, Greg Kroah-Hartman wrote:
> > 3.0-stable review patch. If anyone has any objections, please let me know.
> >
> > --
> >
> >
On Sat, Mar 16, 2013 at 02:10:22AM +, Ben Hutchings wrote:
On Tue, 2013-03-12 at 15:44 -0700, Greg Kroah-Hartman wrote:
3.0-stable review patch. If anyone has any objections, please let me know.
--
From: Asias He as...@redhat.com
commit
isk(vblk->disk);
>>> + kobject_uevent_env(_to_dev(vblk->disk)->kobj, KOBJ_CHANGE, envp);
>>> done:
>>> mutex_unlock(>config_lock);
>>> }
>>>
>>
>> I tried the following with your automatically resize udev rules.
>>
&
into it again. It works for me now
and the udev event is seen.
Tested-by: Asias He as...@redhat.com
[root@host ~]# lvresize -f -L +100M /dev/vgguests/evd2 \
virsh blockresize resize vdb 1 \
lvresize -f -L +100M /dev/vgguests/evd2 \
virsh blockresize resize vdb 1
Rounding size to boundary between
On 02/22/2013 03:02 AM, Milos Vyletel wrote:
> When virtio-blk device is resized from host (using block_resize from QEMU)
> emit
> KOBJ_CHANGE uevent to notify guest about such change. This allows user to have
> custom udev rules which would take whatever action if such event occurs. As a
> proof
On 02/22/2013 03:02 AM, Milos Vyletel wrote:
When virtio-blk device is resized from host (using block_resize from QEMU)
emit
KOBJ_CHANGE uevent to notify guest about such change. This allows user to have
custom udev rules which would take whatever action if such event occurs. As a
proof of
ed-off-by: Wanlong Gao
Reviewed-by: Asias He
> ---
> V1->V2:
> add the lost comments (Asias)
>
> drivers/scsi/virtio_scsi.c | 91
> +-
> 1 file changed, 34 insertions(+), 57 deletions(-)
>
> diff --git a/drivers
On 02/20/2013 04:37 PM, Wanlong Gao wrote:
> Using the new virtqueue_add_sgs function lets us simplify the queueing
> path. In particular, all data protected by the tgt_lock is just gone
> (multiqueue will find a new use for the lock).
>
> Signed-off-by: Paolo Bonzini
> Signed-off-by: Wanlong
On 02/19/2013 03:56 PM, Rusty Russell wrote:
> It's simply a flag as to whether we have data now, so make it an
> explicit function parameter rather than a member of struct
> virtblk_req.
>
> Signed-off-by: Rusty Russell
Reviewed-by: Asias He
> ---
> drivers/bloc
i
> Signed-off-by: Rusty Russell
Reviewed-by: Asias He
> ---
> drivers/block/virtio_blk.c | 69
> +---
> 1 file changed, 33 insertions(+), 36 deletions(-)
>
> diff --git a/drivers/block/virtio_blk.c b/drivers/block/
- if (bio->bi_rw & REQ_WRITE) {
> + vbr->nents = blk_bio_map_sg(vblk->disk->queue, bio, vbr->sg);
> + if (vbr->nents) {
> + if (bio->bi_rw & REQ_WRITE)
> vbr->out_hdr.type |= VIRTIO_BLK_T_OUT;
> -
On 02/19/2013 03:56 PM, Rusty Russell wrote:
> virtio_scsi can really use this, to avoid the current hack of copying
> the whole sg array. Some other things get slightly neater, too.
>
> Signed-off-by: Rusty Russell
This simpler API makes more sense to me.
Reviewed-
On 02/19/2013 03:56 PM, Rusty Russell wrote:
virtio_scsi can really use this, to avoid the current hack of copying
the whole sg array. Some other things get slightly neater, too.
Signed-off-by: Rusty Russell ru...@rustcorp.com.au
This simpler API makes more sense to me.
Reviewed-by: Asias
(struct work_struct *work)
Reviewed-by: Asias He as...@redhat.com
--
Asias
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http
-by: Rusty Russell ru...@rustcorp.com.au
Reviewed-by: Asias He as...@redhat.com
---
drivers/block/virtio_blk.c | 69
+---
1 file changed, 33 insertions(+), 36 deletions(-)
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c
index
On 02/19/2013 03:56 PM, Rusty Russell wrote:
It's simply a flag as to whether we have data now, so make it an
explicit function parameter rather than a member of struct
virtblk_req.
Signed-off-by: Rusty Russell ru...@rustcorp.com.au
Reviewed-by: Asias He as...@redhat.com
---
drivers
On 02/20/2013 04:37 PM, Wanlong Gao wrote:
Using the new virtqueue_add_sgs function lets us simplify the queueing
path. In particular, all data protected by the tgt_lock is just gone
(multiqueue will find a new use for the lock).
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
-by: Wanlong Gao gaowanl...@cn.fujitsu.com
Reviewed-by: Asias He as...@redhat.com
---
V1-V2:
add the lost comments (Asias)
drivers/scsi/virtio_scsi.c | 91
+-
1 file changed, 34 insertions(+), 57 deletions(-)
diff --git a/drivers/scsi
rtqueue buffers.
>
> With this change, virtio-blk (with use_bio) is not relying anymore on
> the virtio functions ignoring the end markers in a scatterlist.
> The next patch will do the same for the other path.
>
> Signed-off-by: Paolo Bonzini
Reviewed-by: Asias He
> ---
gic directly in virtblk_add_req.
>
> Signed-off-by: Paolo Bonzini
Reviewed-by: Asias He
> ---
> drivers/block/virtio_blk.c | 55
>
> 1 files changed, 20 insertions(+), 35 deletions(-)
>
> diff --git a/drivers/block/virtio_blk.c
On 02/12/2013 08:23 PM, Paolo Bonzini wrote:
> This is similar to the previous patch, but a bit more radical
> because the bio and req paths now share the buffer construction
> code. Because the req path doesn't use vbr->sg, however, we
> need to add a couple of arguments to __virtblk_add_req.
>
On 02/12/2013 08:23 PM, Paolo Bonzini wrote:
This is similar to the previous patch, but a bit more radical
because the bio and req paths now share the buffer construction
code. Because the req path doesn't use vbr-sg, however, we
need to add a couple of arguments to __virtblk_add_req.
We
in virtblk_add_req.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Reviewed-by: Asias He as...@redhat.com
---
drivers/block/virtio_blk.c | 55
1 files changed, 20 insertions(+), 35 deletions(-)
diff --git a/drivers/block/virtio_blk.c b/drivers/block
, virtio-blk (with use_bio) is not relying anymore on
the virtio functions ignoring the end markers in a scatterlist.
The next patch will do the same for the other path.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Reviewed-by: Asias He as...@redhat.com
---
drivers/block/virtio_blk.c | 74
On 12/06/2012 09:00 PM, Michael S. Tsirkin wrote:
> On Sun, Dec 02, 2012 at 09:33:53AM +0800, Asias He wrote:
>> diff --git a/drivers/vhost/Kconfig.blk b/drivers/vhost/Kconfig.blk
>> new file mode 100644
>> index 000..ff8ab76
>> --- /dev/null
>> +++ b/drivers/v
On 12/06/2012 09:00 PM, Michael S. Tsirkin wrote:
On Sun, Dec 02, 2012 at 09:33:53AM +0800, Asias He wrote:
diff --git a/drivers/vhost/Kconfig.blk b/drivers/vhost/Kconfig.blk
new file mode 100644
index 000..ff8ab76
--- /dev/null
+++ b/drivers/vhost/Kconfig.blk
@@ -0,0 +1,10 @@
+config
bio instead of vfs_fsync, thanks Christoph!
- Check file passed by user is a raw block device file
Acked-by: David S. Miller
Signed-off-by: Asias He
---
drivers/vhost/Kconfig | 1 +
drivers/vhost/Kconfig.blk | 10 +
drivers/vhost/Makefile| 2 +
drivers/vhost/blk.c |
instead of vfs_fsync, thanks Christoph!
- Check file passed by user is a raw block device file
Acked-by: David S. Miller da...@davemloft.net
Signed-off-by: Asias He as...@redhat.com
---
drivers/vhost/Kconfig | 1 +
drivers/vhost/Kconfig.blk | 10 +
drivers/vhost/Makefile| 2 +
drivers
On 11/21/2012 07:57 PM, Michael S. Tsirkin wrote:
> On Wed, Nov 21, 2012 at 12:24:55PM +0800, Asias He wrote:
>> On 11/20/2012 09:37 PM, Michael S. Tsirkin wrote:
>>> On Tue, Nov 20, 2012 at 02:39:40PM +0800, Asias He wrote:
>>>> On 11/20/2012 04:26 AM, Michael S. Ts
On 11/21/2012 07:57 PM, Michael S. Tsirkin wrote:
On Wed, Nov 21, 2012 at 12:24:55PM +0800, Asias He wrote:
On 11/20/2012 09:37 PM, Michael S. Tsirkin wrote:
On Tue, Nov 20, 2012 at 02:39:40PM +0800, Asias He wrote:
On 11/20/2012 04:26 AM, Michael S. Tsirkin wrote:
On Mon, Nov 19, 2012 at 04
On 11/20/2012 09:37 PM, Michael S. Tsirkin wrote:
> On Tue, Nov 20, 2012 at 02:39:40PM +0800, Asias He wrote:
>> On 11/20/2012 04:26 AM, Michael S. Tsirkin wrote:
>>> On Mon, Nov 19, 2012 at 04:53:42PM +0800, Asias He wrote:
>>>> vhost-blk is an in-kernel
On 11/20/2012 09:37 PM, Michael S. Tsirkin wrote:
On Tue, Nov 20, 2012 at 02:39:40PM +0800, Asias He wrote:
On 11/20/2012 04:26 AM, Michael S. Tsirkin wrote:
On Mon, Nov 19, 2012 at 04:53:42PM +0800, Asias He wrote:
vhost-blk is an in-kernel virito-blk device accelerator.
Due to lack
On 11/20/2012 04:26 AM, Michael S. Tsirkin wrote:
> On Mon, Nov 19, 2012 at 04:53:42PM +0800, Asias He wrote:
>> vhost-blk is an in-kernel virito-blk device accelerator.
>>
>> Due to lack of proper in-kernel AIO interface, this version converts
>> guest's I/O reques
On 11/20/2012 04:26 AM, Michael S. Tsirkin wrote:
On Mon, Nov 19, 2012 at 04:53:42PM +0800, Asias He wrote:
vhost-blk is an in-kernel virito-blk device accelerator.
Due to lack of proper in-kernel AIO interface, this version converts
guest's I/O request to bio and use submit_bio() to submit I
er.kernel.org
> drivers/scsi/virtio_scsi.c | 43 +++
> 1 file changed, 23 insertions(+), 20 deletions(-)
>
> --
> 1.8.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message t
+++
1 file changed, 23 insertions(+), 20 deletions(-)
--
1.8.0
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Asias He
> added it to my workqueue (unless someone deals with it first).
>
> Any reason I shouldn't apply Kirill's patch before someone find the time
> to do that?
Please apply it.
--
Asias He
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body
(unless someone deals with it first).
Any reason I shouldn't apply Kirill's patch before someone find the time
to do that?
Please apply it.
--
Asias He
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo
s we discussed replacing SLIRP with lkvm code for
> userspace networking and decided (for reasons I do not remember) that it
> lacks futures SLIRP has. Was it host port redirection?
Yes. Currently, there is no host to guest port forward support in lkvm.
However, it's faster than slirp.
e.g. tcp band
. Currently, there is no host to guest port forward support in lkvm.
However, it's faster than slirp.
e.g. tcp bandwidth in a 100Mb/s environment
lkvm's userspace networking ~90Mb/s v.s qemu's slirp ~10Mb/s
--
Asias He
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body
On 09/10/2012 10:26 AM, Rusty Russell wrote:
> Ben Hutchings writes:
>
>> 3.2-stable review patch. If anyone has any objections, please let me know.
>>
>> --
>>
>> From: "Michael S. Tsirkin"
>>
>> commit 4678d6f970c2f7c0cbfefc0cc666432d153b321b upstream.
>>
>> Fix a theoretical
On 09/10/2012 10:26 AM, Rusty Russell wrote:
Ben Hutchings b...@decadent.org.uk writes:
3.2-stable review patch. If anyone has any objections, please let me know.
--
From: Michael S. Tsirkin m...@redhat.com
commit 4678d6f970c2f7c0cbfefc0cc666432d153b321b upstream.
Fix
1 - 100 of 214 matches
Mail list logo