Re: [Qemu-devel] [PATCH 0/2] Open disk images with O_DIRECT

2007-11-28 Thread Samuel Thibault
Daniel P. Berrange, le Wed 28 Nov 2007 15:08:20 +, a écrit : > > sometimes it is not because the guest is not so i/o friendly > > and hence using the host page/buffer cache is useful. > > I don't buy that - all OS already do I/O caching because its useful even > on baremetal. Well, I can see

Re: [Qemu-devel] [PATCH 0/2] Open disk images with O_DIRECT

2007-11-28 Thread Daniel P. Berrange
On Wed, Nov 28, 2007 at 02:34:02PM +, Samuel Thibault wrote: > Daniel P. Berrange, le Wed 28 Nov 2007 14:27:39 +, a écrit : > > On Wed, Nov 28, 2007 at 03:02:50PM +0100, Laurent Vivier wrote: > > > These patches allow to open file using O_DIRECT and bypass the host I/O > > > cache. > > > >

Re: [Qemu-devel] [PATCH 0/2] Open disk images with O_DIRECT

2007-11-28 Thread Anthony Liguori
Samuel Thibault wrote: Daniel P. Berrange, le Wed 28 Nov 2007 14:27:39 +, a écrit : On Wed, Nov 28, 2007 at 03:02:50PM +0100, Laurent Vivier wrote: These patches allow to open file using O_DIRECT and bypass the host I/O cache. [PATCH 1/2] Add "directio" parameter to "-drive" U

Re: [Qemu-devel] [PATCH 0/2] Open disk images with O_DIRECT

2007-11-28 Thread Samuel Thibault
Daniel P. Berrange, le Wed 28 Nov 2007 14:27:39 +, a écrit : > On Wed, Nov 28, 2007 at 03:02:50PM +0100, Laurent Vivier wrote: > > These patches allow to open file using O_DIRECT and bypass the host I/O > > cache. > > > > [PATCH 1/2] Add "directio" parameter to "-drive" > > > > Using "dir

Re: [Qemu-devel] [PATCH 0/2] Open disk images with O_DIRECT

2007-11-28 Thread Daniel P. Berrange
On Wed, Nov 28, 2007 at 03:02:50PM +0100, Laurent Vivier wrote: > These patches allow to open file using O_DIRECT and bypass the host I/O cache. > > [PATCH 1/2] Add "directio" parameter to "-drive" > > Using "directio=on" with "-drive" will open the disk image > file using "O_DIRECT". I

[Qemu-devel] [PATCH 0/2] Open disk images with O_DIRECT

2007-11-28 Thread Laurent Vivier
These patches allow to open file using O_DIRECT and bypass the host I/O cache. [PATCH 1/2] Add "directio" parameter to "-drive" Using "directio=on" with "-drive" will open the disk image file using "O_DIRECT". [PATCH 2/2] Direct IDE I/O This patch enhances the "-drive ,directio=on