qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: KVM call agenda for Jan 11


From: Avi Kivity
Subject: Re: [Qemu-devel] Re: KVM call agenda for Jan 11
Date: Thu, 13 Jan 2011 18:12:04 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.7

On 01/11/2011 04:43 PM, Anthony Liguori wrote:
- invalidate all buffers for that block device on machine A after
   migration.
    * with NFS, just close + reopen the file (and pray that nobody else
    has it also opened)
* with block devices: use BLKFLBLK ioctl, and pray that nobody else is
      using the device, that device is not a ramdisk, and some more
      things.  To add injury to insult, you need to be root to be able
      to issue that ioctl (technically have CAP_SYS_ADMIN).


Why isn't fsync() enough for a block device?

fsync() is fine on the outgoing side, but not on the incoming side.

(the imcoming side might have valid buffers if it was the outgoing side on the previous migration, for example, or because of automatic probing)

--
error compiling committee.c: too many arguments to function




reply via email to

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