|
From: | Avi Kivity |
Subject: | Re: [Qemu-devel] [PATCH] honor IDE_DMA_BUF_SECTORS |
Date: | Fri, 27 Mar 2009 13:53:31 +0300 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090320) |
Samuel Thibault wrote:
Avi Kivity, le Fri 27 Mar 2009 12:52:15 +0300, a écrit :However implementing DMA limits like you propose (IDE_DMA_BUF_SECTORS) will not fix the bug, only reduce performance.Have you read what I wrote? v
You can't have a good flamewar if you read what people actually write. Maybe I'm confused by $subject.
block-raw-posix need not do that, just a while loop.For the synchronous interface, yes. For the asynchronous interface, short reads could happen too... (unfortunately we are aware of that too late for queuing other requests and getting efficiency).
Currently block-raw-posix uses synchronous I/O even for asynchronous requests (using threads) so the fix is the same in both cases.
-- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.
[Prev in Thread] | Current Thread | [Next in Thread] |