Host's write request is 4KB larger than that of the guest?

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

 



Hi there,

I used a raw disk image to host a VM. I later used blktrace to capture
write requests issued from the guest to commit data to a physical disk
and found that the request size of the host is 8 blocks (4KB) larger
than that of the guest. Here is a part of the trace.

--- Guest
251,32   0      100     2.399993525    10  D   W 18747926 + 8 [kblockd/0]
251,32   0      101     2.399996297    10  D   W 18752462 + 24 [kblockd/0]
251,32   0      102     2.399998367    10  D   W 18756566 + 8 [kblockd/0]

--- Host
  8,16   0      155     2.415036111 32357  D   W 19146095 + 16 [kvm]
  8,16   0      156     2.415042667 32357  D   W 19150639 + 32 [kvm]
  8,16   0      158     2.415063867 32349  D   W 19154743 + 16 [kvm]

The content of that additional written sectors on the disk can either
be "zero" or something else. Please let me know if you have a clue or
tell me which file in the package should I be looking at closer to
understand this behavior.

I really appreciate that.

-- Dan
--
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