Am 20.09.2010 15:31, schrieb Stefan Hajnoczi: > When blkverify clones an I/O vector in order to perform mirrored reads > and then compare their contents, it does not take into account the > layout of individual buffers. It turns out this is important because > guests may issue requests with overlapping buffers and the results > differ depending on how buffers are overlapped. > > This patch introduces logic to honor overlap relationships when cloning > I/O vectors. > > Signed-off-by: Stefan Hajnoczi <stefa...@linux.vnet.ibm.com>
Took me a while to review this. These buffer calculations always look so harmless, but it's not trivial at all... Anyway, looks good to me. Kevin