qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] [PATCH v4 6/6] qemu-io: Add 'write -z -u' to test MAY_U


From: Max Reitz
Subject: Re: [Qemu-block] [PATCH v4 6/6] qemu-io: Add 'write -z -u' to test MAY_UNMAP flag
Date: Fri, 6 May 2016 18:11:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0

On 05.05.2016 05:42, Eric Blake wrote:
> Make it easier to control whether the BDRV_REQ_MAY_UNMAP flag
> can be passed through a write_zeroes command, by adding the '-u'
> flag to qemu-io 'write -z' and 'aio_write -z'.  To be useful,
> the device has to be opened with 'qemu-io -d unmap' (or the
> just-added 'open -u' subcommand).
> 
> Signed-off-by: Eric Blake <address@hidden>
> ---
>  qemu-io-cmds.c | 24 +++++++++++++++++++++---
>  1 file changed, 21 insertions(+), 3 deletions(-)

Reviewed-by: Max Reitz <address@hidden>

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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