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

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

 



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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux