qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] honor IDE_DMA_BUF_SECTORS


From: Samuel Thibault
Subject: Re: [Qemu-devel] [PATCH] honor IDE_DMA_BUF_SECTORS
Date: Fri, 27 Mar 2009 11:32:38 +0100
User-agent: Mutt/1.5.12-2006-07-14

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

> >Just to make sure: I'm _not_ saying that should be done in the DMA
> >code.  I said it should be done in the block layer, shared by all
> >block drivers.
> 
> A generic fix will have to issue a new aio request.

Ah, right, that's different from the case below.

> 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).

Samuel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]