[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] HVM domain with write caching going on somewhere to disk
On 8/11/07 10:51, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote: >> I don't think qemu caches writes internally, and also I believe that >> outstanding I/O requests are serviced before a domain is shut down > > Are they serviced before a domain is destroyed (eg 'xm destroy')? Maybe > that's what I was using when I noticed it... When a domain is shutdown, Xen will not acknowledge the shutdown until all in-flight I/O requests are serviced. That should be sufficient, although it might depend on what qemu is using for the storage backend. For example, I'm not sure how aio will interact with SIGKILL of the requesting process (that's how we terminate qemu-dm on domain destruction). >> Could >> there be a problem with data ending up in the buffer cache in dom0 >> kernel? > > Hmmm... shouldn't the DomU->qemu->device and DomU->blkbackend->device > path's both have visibility to the same buffer cache though? No, it's trickier than that. Blkback sends I/O requests direct into the block subsystem, bypassing the buffer cache. You can see there's potential for confusion therefore! -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |