[Top][All Lists]
[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>
- Re: [Qemu-devel] [PATCH 3/8] vmdk: clean up open, (continued)
- [Qemu-devel] [PATCH 4/8] block: add a Rwlock to synchronous read/write drivers, Paolo Bonzini, 2011/10/19
- [Qemu-devel] [PATCH 5/8] block: take lock around bdrv_read implementations, Paolo Bonzini, 2011/10/19
- [Qemu-devel] [PATCH 2/8] vmdk: fix return values of vmdk_parent_open, Paolo Bonzini, 2011/10/19
- [Qemu-devel] [PATCH 6/8] block: take lock around bdrv_write implementations, Paolo Bonzini, 2011/10/19
- [Qemu-devel] [PATCH 7/8] block: change flush to co_flush, Paolo Bonzini, 2011/10/19
- [Qemu-devel] [PATCH 8/8] block: change discard to co_discard, Paolo Bonzini, 2011/10/19
- Re: [Qemu-devel] [PATCH 8/8] block: change discard to co_discard,
Kevin Wolf <=