qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 49/55] block: Declare qemu_blockalign() in block


From: Christoph Hellwig
Subject: Re: [Qemu-devel] [PATCH 49/55] block: Declare qemu_blockalign() in block.h, not block_int.h
Date: Fri, 29 Jul 2011 15:11:46 +0200
User-agent: Mutt/1.5.17 (2007-11-01)

On Fri, Jul 29, 2011 at 10:56:07AM +0200, Markus Armbruster wrote:
> > Hmm.  We already do proper read-modify-write cycles for actual data
> > transfers, so killing the buffer inside SD sounds like the better
> > idea.  qemu_blockalign really should be used only for block-layer internal
> > allocations.
> 
> What about the uses in scsi-disk.c and ide/core.c?

They are allocating internal bounce buffers due to suboptimal I/O
models.  But given that this is the reality in multiple qemu drivers I
think I'll give up and ack the move.



reply via email to

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