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 stefa...@linux.vnet.ibm.com

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 aneesh.ku...@linux.vnet.ibm.com 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

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 stefa...@gmail.com wrote: On Mon, Oct 10, 2011 at 10:06 AM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com 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 Stefan Hajnoczi
On Wed, Oct 12, 2011 at 2:19 PM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: On Wed, 12 Oct 2011 10:55:21 +0100, Stefan Hajnoczi stefa...@gmail.com wrote: On Mon, Oct 10, 2011 at 10:06 AM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: diff --git

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 stefa...@gmail.com wrote: On Wed, Oct 12, 2011 at 2:19 PM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: On Wed, 12 Oct 2011 10:55:21 +0100, Stefan Hajnoczi stefa...@gmail.com wrote: On Mon, Oct 10, 2011 at 10:06 AM, Aneesh

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 stefa...@gmail.com wrote: On Sun, Oct 9, 2011 at 7:35 PM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: On Sun, 9 Oct 2011 17:16:50 +0100, Stefan Hajnoczi stefa...@gmail.com wrote: On Sun, Oct 9, 2011 at 4:34 PM, Aneesh Kumar

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 stefa...@gmail.com wrote: On Fri, Oct 7, 2011 at 7:46 AM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: cache=writethrough implies the file are opened in the host with O_SYNC open flag Signed-off-by: Aneesh Kumar K.V

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 aneesh.ku...@linux.vnet.ibm.com wrote: On Sat, 8 Oct 2011 12:24:37 +0100, Stefan Hajnoczi stefa...@gmail.com wrote: On Fri, Oct 7, 2011 at 7:46 AM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: cache=writethrough implies the file are

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 stefa...@gmail.com wrote: On Sun, Oct 9, 2011 at 4:34 PM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: On Sat, 8 Oct 2011 12:24:37 +0100, Stefan Hajnoczi stefa...@gmail.com wrote: On Fri, Oct 7, 2011 at 7:46 AM, Aneesh Kumar

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 aneesh.ku...@linux.vnet.ibm.com wrote: On Sun, 9 Oct 2011 17:16:50 +0100, Stefan Hajnoczi stefa...@gmail.com wrote: On Sun, Oct 9, 2011 at 4:34 PM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: On Sat, 8 Oct 2011 12:24:37 +0100,

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 aneesh.ku...@linux.vnet.ibm.com wrote: cache=writethrough implies the file are opened in the host with O_SYNC open flag Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com ---  fsdev/file-op-9p.h         |    1 +  

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

2011-10-07 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 aneesh.ku...@linux.vnet.ibm.com --- fsdev/file-op-9p.h |1 + fsdev/qemu-fsdev.c | 10 -- fsdev/qemu-fsdev.h |2 ++ hw/9pfs/virtio-9p-device.c

[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 aneesh.ku...@linux.vnet.ibm.com --- fsdev/file-op-9p.h |1 + fsdev/qemu-fsdev.c | 10 -- fsdev/qemu-fsdev.h |2 ++ hw/9pfs/virtio-9p-device.c