qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] rbd: add discard support


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH] rbd: add discard support
Date: Wed, 02 May 2012 18:42:24 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1

Am 01.05.2012 10:39, schrieb Stefan Hajnoczi:
> On Tue, May 1, 2012 at 7:16 AM, Josh Durgin <address@hidden> wrote:
>> Change the write flag to an operation type in RBDAIOCB, and make the
>> buffer optional since discard doesn't use it.
>>
>> Discard is first included in librbd 0.1.2 (which is in Ceph 0.46).
>> If librbd is too old, leave out qemu_rbd_aio_discard entirely,
>> so the old behavior is preserved.
>>
>> Signed-off-by: Josh Durgin <address@hidden>
>> ---
>>  block/rbd.c |   89 
>> ++++++++++++++++++++++++++++++++++++++++++++++++----------
>>  1 files changed, 73 insertions(+), 16 deletions(-)
> 
> Reviewed-by: Stefan Hajnoczi <address@hidden>

Thanks, applied to the block branch.

Kevin



reply via email to

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