[Top][All Lists]

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

Re: [Qemu-block] [PATCH 12/17] iscsi: Switch .bdrv_co_discard() to byte-

From: Stefan Hajnoczi
Subject: Re: [Qemu-block] [PATCH 12/17] iscsi: Switch .bdrv_co_discard() to byte-based
Date: Thu, 14 Jul 2016 13:16:36 +0100
User-agent: Mutt/1.6.1 (2016-04-27)

On Wed, Jun 22, 2016 at 09:51:09AM -0600, Eric Blake wrote:
> Another step towards killing off sector-based block APIs.
> Unlike write_zeroes, where we can be handed unaligned requests
> and must fail gracefully with -ENOTSUP for a fallback, we are
> guaranteed that discard requests are always aligned because the
> block layer already ignored unaligned head/tail.
> Signed-off-by: Eric Blake <address@hidden>
> ---
>  block/iscsi.c | 18 ++++++++----------
>  1 file changed, 8 insertions(+), 10 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]