[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Asynchronous reliable and configurable cache fl
From: |
Jamie Lokier |
Subject: |
Re: [Qemu-devel] [PATCH] Asynchronous reliable and configurable cache flush |
Date: |
Thu, 3 Apr 2008 12:38:34 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Ian Jackson wrote:
> > > The cache is dynamically enabled/disabled by the target. This means
> > > you've got to close and repopen the file every time it changes,
> > > which is likely to get really hairy.
> >
> > Just open two descriptors :-)
>
> Doing it with bdrv_aio_flush wasn't too hard, so that's what'll be in
> my revised patch shortly.
For "uncached" writes, do you wait until _after_ the aio_write has
completed before calling aio_fsync, or do you assume the aio_fsync
will wait for all aio_writes queued (but not completed) prior to it,
as Marcelo Tosatti believes the documentation implies?
Thanks,
-- Jamie
Re: [Qemu-devel] [PATCH] Asynchronous reliable and configurable cache flush, Ian Jackson, 2008/04/02
Re: [Qemu-devel] [PATCH] Asynchronous reliable and configurable cache flush, Samuel Thibault, 2008/04/01
[Qemu-devel] Re: [PATCH] Asynchronous reliable and configurable cache flush, Ian Jackson, 2008/04/02