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 <[email protected]>
> ---
>  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 <[email protected]>

Attachment: signature.asc
Description: PGP signature

Reply via email to