qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [4367] Align file accesses with cache=off (Kevin Wolf,


From: Fabrice Bellard
Subject: Re: [Qemu-devel] [4367] Align file accesses with cache=off (Kevin Wolf, Laurent Vivier)
Date: Wed, 07 May 2008 00:17:41 +0200
User-agent: Thunderbird 1.5.0.9 (X11/20070212)

A note: in order to avoid uncontrolled recursions, it is better to call
the read/write AIO callback outside the aio_read/write (see
bdrv_aio_read_em).

Personally I would not trust the OS to correctly handle the mix of
O_DIRECT and buffered operations, especially if the corresponding file
regions intersect !

Fabrice.

Blue Swirl wrote:
> Revision: 4367
>           http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4367
> Author:   blueswir1
> Date:     2008-05-06 17:26:59 +0000 (Tue, 06 May 2008)
> 
> Log Message:
> -----------
> Align file accesses with cache=off (Kevin Wolf, Laurent Vivier)
> 
> Modified Paths:
> --------------
>     trunk/block-raw-posix.c
> [...]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]