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 00:22:30 +0100
User-agent: Mutt/1.5.12-2006-07-14

Christoph Hellwig, le Thu 26 Mar 2009 23:42:29 +0100, a écrit :
> On Thu, Mar 26, 2009 at 11:45:59AM +0000, Stefano Stabellini wrote:
> > My problem is that my block driver has a size limit for read and write
> > operations.
> 
> So fix your driver.

And introduce code that could be shared with posix' fix for partial
reads/writes?

> I assume that driver in question is a qemu BlockDriver and not a
> kernel driver behind block-raw-posix.c?

Yes.

> At least for Linux I couldn't think of a way to introduce such an
> arbitrary limit anyway.

Nothing in Linux makes filesystems and devices systematically read/write
the amount of data that was requested.

Samuel




reply via email to

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