[Top][All Lists]

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

Re: [Qemu-devel] Re: [PATCH] Disable O_DIRECT for physical CDROM/DVD dri

From: Jes Sorensen
Subject: Re: [Qemu-devel] Re: [PATCH] Disable O_DIRECT for physical CDROM/DVD drives
Date: Tue, 20 Jul 2010 18:20:05 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Thunderbird/3.0.5

On 07/20/10 18:16, David S. Ahern wrote:
> What about setting the logical and physical block size properties? Is
> the intent of these to handle varying sizes amongst block devices?
> David

Well the problem is that we need to know the sector size of the host
device, and then start using that within QEMU for anything using
O_DIRECT. The way the QEMU code handles it right now is by hard coding
it, and cleaning that up could be a bit messy, but it should go on the
todo list.


reply via email to

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