[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v5 5/6] qemu-io: Add 'write -f' to test FUA flag
From: |
Max Reitz |
Subject: |
Re: [Qemu-block] [PATCH v5 5/6] qemu-io: Add 'write -f' to test FUA flag |
Date: |
Mon, 9 May 2016 20:21:04 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 |
On 08.05.2016 05:16, Eric Blake wrote:
> Make it easier to test block drivers with BDRV_REQ_FUA in
> .supported_write_flags, by adding the '-f' flag to qemu-io to
> conditionally pass the flag through to specific writes ('write',
> 'write -z', 'writev', 'aio_write', 'aio_write -z'). You'll want
> to use 'qemu-io -t none' to actually make -f useful (as
> otherwise, the default writethrough mode automatically sets the
> FUA bit on every write).
>
> Signed-off-by: Eric Blake <address@hidden>
>
> ---
> v5: use bool operator
> ---
> qemu-io-cmds.c | 57 +++++++++++++++++++++++++++++++++++++++++----------------
> 1 file changed, 41 insertions(+), 16 deletions(-)
Reviewed-by: Max Reitz <address@hidden>
signature.asc
Description: OpenPGP digital signature
- [Qemu-block] [PATCH v5 4/6] qemu-io: Allow unaligned access by default, (continued)
- Re: [Qemu-block] [Qemu-devel] [PATCH v5 0/6] qemu-io: UI enhancements, Eric Blake, 2016/05/07
- [Qemu-block] [PATCH v5 3/6] qemu-io: Use bool for command line flags, Eric Blake, 2016/05/07
- [Qemu-block] [PATCH v5 5/6] qemu-io: Add 'write -f' to test FUA flag, Eric Blake, 2016/05/07
- Re: [Qemu-block] [PATCH v5 5/6] qemu-io: Add 'write -f' to test FUA flag,
Max Reitz <=
- Re: [Qemu-block] [PATCH v5 0/6] qemu-io: UI enhancements, Max Reitz, 2016/05/11