qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [Qemu-block] [PATCH 02/17] block: Convert bdrv_discard(


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [Qemu-block] [PATCH 02/17] block: Convert bdrv_discard() to byte-based
Date: Thu, 14 Jul 2016 13:15:23 +0100
User-agent: Mutt/1.6.1 (2016-04-27)

On Wed, Jun 22, 2016 at 09:50:59AM -0600, Eric Blake wrote:
> Another step towards byte-based interfaces everywhere.  Replace
> the sector-based bdrv_discard() with a new byte-based
> bdrv_pdiscard(), which silently ignores any unaligned head
> or tail.
> 
> Signed-off-by: Eric Blake <address@hidden>
> ---
>  include/block/block.h  |  2 +-
>  block/block-backend.c  |  3 ++-
>  block/io.c             | 19 +++++++++----------
>  block/qcow2-refcount.c |  4 +---
>  4 files changed, 13 insertions(+), 15 deletions(-)

Reviewed-by: Stefan Hajnoczi <address@hidden>

Attachment: signature.asc
Description: PGP signature


reply via email to

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