[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] Virtio-BLK/SCSI write requests and data payload checksu
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-block] Virtio-BLK/SCSI write requests and data payload checksums |
Date: |
Mon, 17 Dec 2018 14:48:07 +0000 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Sun, Dec 16, 2018 at 06:53:44PM +0100, Peter Lieven wrote:
> It turned out that for writes a bounce buffer is indeed always necessary. But
> what I found out is that
> it seems that even for reads it happens that the OS (Windows in this case)
> issues 2 read requests with
> the same buffer in parallel. Is it possible that this is a bug in the virtio
> or has anybone ever seen this before?
Is it Windows resume-from-sleep? I remember a race condition that
Microsoft fixed.
The other weird thing I've seen is scatter-gather lists where the same
buffer address is used multiple times within one request (this can go
wrong if the host splits up the request, causing races).
Stefan
signature.asc
Description: PGP signature