qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 8/8] block: change discard to co_discard


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH 8/8] block: change discard to co_discard
Date: Thu, 20 Oct 2011 12:08:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0

Am 19.10.2011 16:59, schrieb Paolo Bonzini:
> Since coroutine operation is now mandatory, convert both bdrv_discard
> implementations to coroutines.  For qcow2, this means taking the lock
> around the operation.  raw-posix remains synchronous.
> 
> The bdrv_discard callback is then unused and can be eliminated.
> 
> Signed-off-by: Paolo Bonzini <address@hidden>

Reviewed-by: Kevin Wolf <address@hidden>



reply via email to

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