qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 1/5] block: add discard support


From: Paolo Bonzini
Subject: [Qemu-devel] Re: [PATCH 1/5] block: add discard support
Date: Mon, 13 Dec 2010 17:24:14 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.6

On 12/13/2010 05:15 PM, Christoph Hellwig wrote:
On Mon, Dec 13, 2010 at 05:07:27PM +0100, Paolo Bonzini wrote:
On 12/10/2010 02:38 PM, Christoph Hellwig wrote:
if it's smaller than the block size we'll zero out the remainder of
the block.

I think it should fail at VM startup time, or even better do nothing at all.

What should fail?

Nothing -- you wrote "if it's smaller than the block size we'll zero out the remainder of the block" which I interpreted the wrong way, i.e. as "XFS will round up the size to the remainder of the block and zero that part out as well".

Thanks for the clarification.

Paolo



reply via email to

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