[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH 05/17] block: Convert BB interface to byte-based
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-block] [PATCH 05/17] block: Convert BB interface to byte-based discards |
Date: |
Thu, 14 Jul 2016 13:16:13 +0100 |
User-agent: |
Mutt/1.6.1 (2016-04-27) |
On Wed, Jun 22, 2016 at 09:51:02AM -0600, Eric Blake wrote:
> Change sector-based blk_discard(), blk_co_discard(), and
> blk_aio_discard() to instead be byte-based *_pdiscard()
> functions. NBD gets a lot simpler now that ignoring the
> unaligned portion of a byte-based discard request is handled
> under the hood by the block layer.
>
> Signed-off-by: Eric Blake <address@hidden>
> ---
> include/sysemu/block-backend.h | 9 ++++-----
> block/block-backend.c | 25 +++++++++++--------------
> block/mirror.c | 5 +++--
> hw/block/xen_disk.c | 7 ++++---
> hw/ide/core.c | 6 ++++--
> hw/scsi/scsi-disk.c | 8 ++++----
> nbd/server.c | 19 +++++--------------
> qemu-io-cmds.c | 3 +--
> 8 files changed, 36 insertions(+), 46 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-block] [PATCH 05/17] block: Convert BB interface to byte-based discards,
Stefan Hajnoczi <=