qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Storage requirements for live migration


From: Anthony Liguori
Subject: Re: [Qemu-devel] Storage requirements for live migration
Date: Fri, 11 Nov 2011 08:05:59 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Lightning/1.0b2 Thunderbird/3.1.13

On 11/11/2011 03:38 AM, Kevin Wolf wrote:
Am 11.11.2011 01:11, schrieb Anthony Liguori:
I did a brain dump of my understanding of the various storage requirements for
live migration.  I think it's accurate but I may have misunderstand some details
so I would appreciate review.

I think given sections (1) and (2), the only viable thing is to require
cache=none unless we get new interfaces to flush caches.

Yes, I think we should strongly recommend cache=none/directsync, but not
enforce it. As you said, for clustered filesystems other options should
work, so we should allow users to choose to make use of that.

Section (3) talks about image formats.  As I mentioned elsewhere in the thread,
I think the best we can do right now is have a block layer interface to quiesce
the image format.  I think reopen may be a viable short term strategy for qcow2
but I think for raw, we should just make the quiesce operation a nop.

I don't agree with making it a nop on raw. You say it's safe without any
further action if you avoid online resize, but we don't disallow online
resize during migration, so this is an invalid assumption. And did you
review all the code to make sure that we don't cache more?

It's not just that. We cache information outside of the block layer (like the CHS). This means that reopening isn't even enough because that only drops the cached data in the block layer.

The file size is also cached by devices.

Regards,

Anthony Liguori


I believe it's better anyway to have all formats behave the same.

Kevin





reply via email to

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