Re: [Qemu-devel] [PATCH 1/2] hw/9pfs: Add new virtfs option cache=writethrough to skip host page cache

2011-10-13 Thread Stefan Hajnoczi
Reviewed-by: Stefan Hajnoczi

Re: [Qemu-devel] [PATCH 1/2] hw/9pfs: Add new virtfs option cache=writethrough to skip host page cache

2011-10-12 Thread Aneesh Kumar K.V
On Wed, 12 Oct 2011 15:32:36 +0100, Stefan Hajnoczi wrote: > On Wed, Oct 12, 2011 at 2:19 PM, Aneesh Kumar K.V > wrote: > > On Wed, 12 Oct 2011 10:55:21 +0100, Stefan Hajnoczi > > wrote: > >> On Mon, Oct 10, 2011 at 10:06 AM, Aneesh Kumar K.V > >> wrote: > >> > diff --git a/hw/9pfs/virtio-9p-h

Re: [Qemu-devel] [PATCH 1/2] hw/9pfs: Add new virtfs option cache=writethrough to skip host page cache

2011-10-12 Thread Stefan Hajnoczi
On Wed, Oct 12, 2011 at 2:19 PM, Aneesh Kumar K.V wrote: > On Wed, 12 Oct 2011 10:55:21 +0100, Stefan Hajnoczi > wrote: >> On Mon, Oct 10, 2011 at 10:06 AM, Aneesh Kumar K.V >> wrote: >> > diff --git a/hw/9pfs/virtio-9p-handle.c b/hw/9pfs/virtio-9p-handle.c >> > index 5c8b5ed..441a37f 100644 >>

Re: [Qemu-devel] [PATCH 1/2] hw/9pfs: Add new virtfs option cache=writethrough to skip host page cache

2011-10-12 Thread Aneesh Kumar K.V
On Wed, 12 Oct 2011 10:55:21 +0100, Stefan Hajnoczi wrote: > On Mon, Oct 10, 2011 at 10:06 AM, Aneesh Kumar K.V > wrote: > > diff --git a/hw/9pfs/virtio-9p-handle.c b/hw/9pfs/virtio-9p-handle.c > > index 5c8b5ed..441a37f 100644 > > --- a/hw/9pfs/virtio-9p-handle.c > > +++ b/hw/9pfs/virtio-9p-hand

Re: [Qemu-devel] [PATCH 1/2] hw/9pfs: Add new virtfs option cache=writethrough to skip host page cache

2011-10-12 Thread Stefan Hajnoczi
On Mon, Oct 10, 2011 at 10:06 AM, Aneesh Kumar K.V wrote: > diff --git a/hw/9pfs/virtio-9p-handle.c b/hw/9pfs/virtio-9p-handle.c > index 5c8b5ed..441a37f 100644 > --- a/hw/9pfs/virtio-9p-handle.c > +++ b/hw/9pfs/virtio-9p-handle.c > @@ -202,6 +202,15 @@ static ssize_t handle_pwritev(FsContext *ctx

Re: [Qemu-devel] [PATCH 1/2] hw/9pfs: Add new virtfs option cache=writethrough to skip host page cache

2011-10-10 Thread Aneesh Kumar K.V
On Mon, 10 Oct 2011 05:54:56 +0100, Stefan Hajnoczi wrote: > On Sun, Oct 9, 2011 at 7:35 PM, Aneesh Kumar K.V > wrote: > > On Sun, 9 Oct 2011 17:16:50 +0100, Stefan Hajnoczi > > wrote: > >> On Sun, Oct 9, 2011 at 4:34 PM, Aneesh Kumar K.V > >> wrote: > >> > On Sat, 8 Oct 2011 12:24:37 +0100, S

Re: [Qemu-devel] [PATCH 1/2] hw/9pfs: Add new virtfs option cache=writethrough to skip host page cache

2011-10-09 Thread Stefan Hajnoczi
On Sun, Oct 9, 2011 at 7:35 PM, Aneesh Kumar K.V wrote: > On Sun, 9 Oct 2011 17:16:50 +0100, Stefan Hajnoczi wrote: >> On Sun, Oct 9, 2011 at 4:34 PM, Aneesh Kumar K.V >> wrote: >> > On Sat, 8 Oct 2011 12:24:37 +0100, Stefan Hajnoczi >> > wrote: >> >> On Fri, Oct 7, 2011 at 7:46 AM, Aneesh Kum

Re: [Qemu-devel] [PATCH 1/2] hw/9pfs: Add new virtfs option cache=writethrough to skip host page cache

2011-10-09 Thread Aneesh Kumar K.V
On Sun, 9 Oct 2011 17:16:50 +0100, Stefan Hajnoczi wrote: > On Sun, Oct 9, 2011 at 4:34 PM, Aneesh Kumar K.V > wrote: > > On Sat, 8 Oct 2011 12:24:37 +0100, Stefan Hajnoczi > > wrote: > >> On Fri, Oct 7, 2011 at 7:46 AM, Aneesh Kumar K.V > >> wrote: > >> > cache=writethrough implies the file a

Re: [Qemu-devel] [PATCH 1/2] hw/9pfs: Add new virtfs option cache=writethrough to skip host page cache

2011-10-09 Thread Stefan Hajnoczi
On Sun, Oct 9, 2011 at 4:34 PM, Aneesh Kumar K.V wrote: > On Sat, 8 Oct 2011 12:24:37 +0100, Stefan Hajnoczi wrote: >> On Fri, Oct 7, 2011 at 7:46 AM, Aneesh Kumar K.V >> wrote: >> > cache=writethrough implies the file are opened in the host with O_SYNC >> > open flag >> > >> > Signed-off-by: A

Re: [Qemu-devel] [PATCH 1/2] hw/9pfs: Add new virtfs option cache=writethrough to skip host page cache

2011-10-09 Thread Aneesh Kumar K.V
On Sat, 8 Oct 2011 12:24:37 +0100, Stefan Hajnoczi wrote: > On Fri, Oct 7, 2011 at 7:46 AM, Aneesh Kumar K.V > wrote: > > cache=writethrough implies the file are opened in the host with O_SYNC open > > flag > > > > Signed-off-by: Aneesh Kumar K.V > > --- > >  fsdev/file-op-9p.h         |    1 +

Re: [Qemu-devel] [PATCH 1/2] hw/9pfs: Add new virtfs option cache=writethrough to skip host page cache

2011-10-08 Thread Stefan Hajnoczi
On Fri, Oct 7, 2011 at 7:46 AM, Aneesh Kumar K.V wrote: > cache=writethrough implies the file are opened in the host with O_SYNC open > flag > > Signed-off-by: Aneesh Kumar K.V > --- >  fsdev/file-op-9p.h         |    1 + >  fsdev/qemu-fsdev.c         |   10 -- >  fsdev/qemu-fsdev.h    

[Qemu-devel] [PATCH 1/2] hw/9pfs: Add new virtfs option cache=writethrough to skip host page cache

2011-10-06 Thread Aneesh Kumar K.V
cache=writethrough implies the file are opened in the host with O_SYNC open flag Signed-off-by: Aneesh Kumar K.V --- fsdev/file-op-9p.h |1 + fsdev/qemu-fsdev.c | 10 -- fsdev/qemu-fsdev.h |2 ++ hw/9pfs/virtio-9p-device.c |5 + hw/9pfs/virtio-9p

[Qemu-devel] [PATCH 1/2] hw/9pfs: Add new virtfs option cache=writethrough to skip host page cache

2011-06-06 Thread Aneesh Kumar K.V
cache=writethrough implies the file are opened in the host with O_SYNC open flag Signed-off-by: Aneesh Kumar K.V --- fsdev/file-op-9p.h |1 + fsdev/qemu-fsdev.c | 10 -- fsdev/qemu-fsdev.h |2 ++ hw/9pfs/virtio-9p-device.c |6 ++ hw/9pfs/virtio-9