qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [PATCH] Make default invocation of block drivers sa


From: Kevin Wolf
Subject: Re: [Qemu-devel] Re: [PATCH] Make default invocation of block drivers safer
Date: Thu, 15 Jul 2010 10:00:41 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Thunderbird/3.0.4

Am 14.07.2010 19:40, schrieb Anthony Liguori:
> On 07/14/2010 11:42 AM, Kevin Wolf wrote:
>> However, I wonder why you even bother with adjusting buffers and
>> requests and stuff instead of just returning a straight -EIO. Doing so
>> would have the additional advantage that the expectation of the guest OS
>> matches what is really on the disk (garbage) instead of silently
>> corrupting things.
>>    
> 
> I started with that approach.  My concern is that it would trigger the 
> stop-on-error behavior and the result would be far too difficult for a 
> management tool/person to deal with.
> 
> Scrubbing seemed like a easier-to-use solution.

Right, I didn't consider that. Makes sense then.

Kevin



reply via email to

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