[Top][All Lists]

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

Re: [kvm-devel] [Qemu-devel] [PATCH] QEMU: fsync AIO writes on flush req

From: Paul Brook
Subject: Re: [kvm-devel] [Qemu-devel] [PATCH] QEMU: fsync AIO writes on flush request
Date: Sat, 29 Mar 2008 02:43:58 +0000
User-agent: KMail/1.9.9

On Saturday 29 March 2008, Jamie Lokier wrote:
> Paul Brook wrote:
> > > That'll depend on what kind of device is emulated.  Does the SCSI
> > > emulation handle multiple in-flight commands with any guarantee on
> > > order?
> >
> > SCSI definitely allows (and we emulate) multiple in flight commands.
> > I can't find any requirement that writes must complete before a
> > subsequent SYNCHRONISE_CACHE. However I don't claim to know the spec
> > that well,
> Aren't there SCSI tagged barrier commands or something like that,
> which allow a host to request ordering between commands?

Ah, yes. Ordering is defined as part of the task management model, not part of 
the commands themselves.  For parallel scsi barrier tasks are created  using 
the ORDERED message (The implementation for this in the LSI HBA is currently 

So in theory we don't care about this for SCSI because ordering will already 
have been enforced by upper levels.


reply via email to

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