qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] barriers: block layer preparations


From: Jamie Lokier
Subject: Re: [Qemu-devel] barriers: block layer preparations
Date: Tue, 5 May 2009 17:00:47 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Avi Kivity wrote:
> Jamie Lokier wrote:
> >Avi Kivity wrote:
> >  
> >>An alternative approach is to add a new op, bdrv_aio_barrier(), 
> >>submitted immediately after the write.  It's probably more complicated 
> >>overall.
> >>    
> >
> >Is it ok to submit a zero-length bdrv_aio_writev(), when you need a
> >barrier without data?
> >  
> 
> We could make it so.  But my point was to make barriers and writes 
> orthogonal.

Yes, and my point is that you _must_ make them orthogonal if
zero-length write isn't permitted :-)

-- Jamie




reply via email to

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